Skip to content

Commit

Permalink
Merge pull request #22 from triadev/scrutinizer-patch-1
Browse files Browse the repository at this point in the history
Scrutinizer Auto-Fixes
  • Loading branch information
triadev authored Oct 28, 2018
2 parents 9b717a2 + 6238bd6 commit 15b7ffb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ElasticsearchMigration.php
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ public function getAllMigrations(?array $onlyWithStatus = null): array
{
$migrations = [];

$this->migrationRepository->all()->each(function ($migrationEntity) use (&$migrations, $onlyWithStatus) {
$this->migrationRepository->all()->each(function($migrationEntity) use (&$migrations, $onlyWithStatus) {
/** @var \Triadev\EsMigration\Models\Entity\ElasticsearchMigration $migrationEntity */
if (is_array($onlyWithStatus) && !in_array($migrationEntity->status, $onlyWithStatus)) {
return;
Expand Down

0 comments on commit 15b7ffb

Please sign in to comment.