Skip to content

Commit

Permalink
Merge pull request #23 from triadev/test_refactoring
Browse files Browse the repository at this point in the history
Test refactoring
  • Loading branch information
triadev authored Oct 28, 2018
2 parents 771a7e0 + 15b7ffb commit f4702aa
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 f4702aa

Please sign in to comment.