@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | |
| 19 | 19 | $this->app->bind( |
| 20 | 20 | \Triadev\EsMigration\Contract\Repository\ElasticsearchMigrationContract::class, |
| 21 | - function () { |
|
| 21 | + function() { |
|
| 22 | 22 | return app()->make( |
| 23 | 23 | \Triadev\EsMigration\Business\Repository\ElasticsearchMigration::class |
| 24 | 24 | ); |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | |
| 28 | 28 | $this->app->bind( |
| 29 | 29 | \Triadev\EsMigration\Contract\Repository\ElasticsearchMigrationStepContract::class, |
| 30 | - function () { |
|
| 30 | + function() { |
|
| 31 | 31 | return app()->make( |
| 32 | 32 | \Triadev\EsMigration\Business\Repository\ElasticsearchMigrationStep::class |
| 33 | 33 | ); |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | */ |
| 43 | 43 | public function register() |
| 44 | 44 | { |
| 45 | - $this->app->singleton(ElasticsearchMigrationContract::class, function () { |
|
| 45 | + $this->app->singleton(ElasticsearchMigrationContract::class, function() { |
|
| 46 | 46 | return app()->make(ElasticsearchMigration::class); |
| 47 | 47 | }); |
| 48 | 48 | } |
@@ -280,7 +280,7 @@ |
||
| 280 | 280 | { |
| 281 | 281 | $migrations = []; |
| 282 | 282 | |
| 283 | - $this->migrationRepository->all()->each(function ($migrationEntity) use (&$migrations, $onlyWithStatus) { |
|
| 283 | + $this->migrationRepository->all()->each(function($migrationEntity) use (&$migrations, $onlyWithStatus) { |
|
| 284 | 284 | /** @var \Triadev\EsMigration\Models\Entity\ElasticsearchMigration $migrationEntity */ |
| 285 | 285 | if (is_array($onlyWithStatus) && !in_array($migrationEntity->status, $onlyWithStatus)) { |
| 286 | 286 | return; |