From 6238bd6168b959b45e9dea7326daf93e522227a4 Mon Sep 17 00:00:00 2001 From: Scrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com> Date: Sun, 28 Oct 2018 09:02:49 +0000 Subject: [PATCH] Scrutinizer Auto-Fixes This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com --- src/ElasticsearchMigration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ElasticsearchMigration.php b/src/ElasticsearchMigration.php index 272866c..243e37e 100644 --- a/src/ElasticsearchMigration.php +++ b/src/ElasticsearchMigration.php @@ -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;