Skip to content

Commit

Permalink
Merge pull request #435 from Jean-Beru/patch-2
Browse files Browse the repository at this point in the history
Remove duplicate collector calls
  • Loading branch information
greg0ire authored Jul 22, 2021
2 parents 28df086 + ce32448 commit 44b29c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Collector/MigrationsCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ public function __construct(DependencyFactory $dependencyFactory, MigrationsFlat

public function collect(Request $request, Response $response, \Throwable $exception = null)
{
if (!empty($this->data)) {
return;
}

$metadataStorage = $this->dependencyFactory->getMetadataStorage();
$planCalculator = $this->dependencyFactory->getMigrationPlanCalculator();

Expand Down

0 comments on commit 44b29c1

Please sign in to comment.