Skip to content

Commit cc4367e

Browse files
committed
Remove unused variable and fix doc comment
1 parent 18c0280 commit cc4367e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/AntiMattr/MongoDB/Migrations/Migration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function migrate($to = null)
8181

8282
$time = 0;
8383
foreach ($migrationsToExecute as $version) {
84-
$versionSql = $version->execute($direction);
84+
$version->execute($direction);
8585
$time += $version->getTime();
8686
}
8787

src/AntiMattr/MongoDB/Migrations/Version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public function analyze(Collection $collection)
167167
}
168168

169169
/**
170-
* Execute this migration version up or down and and return the SQL.
170+
* Execute this migration version up or down
171171
*
172172
* @param string $direction The direction to execute the migration
173173
* @param bool $replay If the migration is being replayed

0 commit comments

Comments
 (0)