Passed
Pull Request — 2.x (#947)
by Antonio Carlos
05:30
created
src/Services/Capsules/HasCapsules.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -366,9 +366,9 @@
 block discarded – undo
366 366
         }
367 367
 
368 368
         collect($files)->each(function ($file) {
369
-           if (file_exists($file)) {
370
-               require_once $file;
371
-           }
369
+            if (file_exists($file)) {
370
+                require_once $file;
371
+            }
372 372
         });
373 373
     }
374 374
 }
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 
26 26
         return $list
27 27
             ->where('enabled', true)
28
-            ->map(function ($capsule) use ($path) {
28
+            ->map(function($capsule) use ($path) {
29 29
                 return $this->makeCapsule($capsule, $path);
30 30
             });
31 31
     }
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     public function getCapsuleByModule($module)
41 41
     {
42 42
         return $this->getCapsuleList()
43
-            ->filter(function ($capsule) use ($module) {
43
+            ->filter(function($capsule) use ($module) {
44 44
                 return Str::lower($capsule['plural']) == Str::lower($module);
45 45
             })
46 46
             ->first();
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
     {
255 255
         $twillSeeder = app(CapsuleSeeder::class);
256 256
 
257
-        $this->getCapsuleList()->each(function ($capsule) use (
257
+        $this->getCapsuleList()->each(function($capsule) use (
258 258
             $twillSeeder,
259 259
             $illuminateSeeder
260 260
         ) {
@@ -365,7 +365,7 @@  discard block
 block discarded – undo
365 365
             return;
366 366
         }
367 367
 
368
-        collect($files)->each(function ($file) {
368
+        collect($files)->each(function($file) {
369 369
            if (file_exists($file)) {
370 370
                require_once $file;
371 371
            }
Please login to merge, or discard this patch.