Skip to content

Commit

Permalink
Merge pull request #1425 from doctrine/3.8.x
Browse files Browse the repository at this point in the history
Merge 3.8.x up into 4.0.x
  • Loading branch information
greg0ire committed Apr 22, 2024
2 parents cb299d7 + 95d3937 commit 2f1e84f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/DbalMigrator.php
Expand Up @@ -81,8 +81,7 @@ private function assertAllMigrationsAreTransactional(MigrationPlanList $migratio
/** @return array<string, Query[]> */
private function executePlan(MigrationPlanList $migrationsPlan, MigratorConfiguration $migratorConfiguration): array
{
$sql = [];
$time = 0;
$sql = [];

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 2f1e84f

Please sign in to comment.