Passed
Push — master ( 4ac216...0744db )
by Christopher
08:31 queued 04:44
created
src/Provider/ElasticsearchMigrationServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/ElasticsearchMigration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -280,7 +280,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.