Skip to content

Commit

Permalink
Remove duplicate collector calls
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Beru authored Jul 21, 2021
1 parent 28df086 commit ce32448
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 ce32448

Please sign in to comment.