Skip to content

Commit

Permalink
Remove unused variable $time (#1412)
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed Mar 11, 2024
1 parent 94bb945 commit 8bb3a28
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/DbalMigrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ private function assertAllMigrationsAreTransactional(MigrationPlanList $migratio
private function executePlan(MigrationPlanList $migrationsPlan, MigratorConfiguration $migratorConfiguration): array
{
$sql = [];
$time = 0;

foreach ($migrationsPlan->getItems() as $plan) {
$versionExecutionResult = $this->executor->execute($plan, $migratorConfiguration);
Expand All @@ -95,7 +94,6 @@ private function executePlan(MigrationPlanList $migrationsPlan, MigratorConfigur
}

$sql[(string) $plan->getVersion()] = $versionExecutionResult->getSql();
$time += $versionExecutionResult->getTime();
}

return $sql;
Expand Down

0 comments on commit 8bb3a28

Please sign in to comment.