Passed
Pull Request — 2.x (#924)
by Antonio Carlos
10:18
created
src/Services/Capsules/HasCapsules.php 1 patch
Spacing   +3 added lines, -3 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();
@@ -250,7 +250,7 @@  discard block
 block discarded – undo
250 250
     {
251 251
         $twillSeeder = app(CapsuleSeeder::class);
252 252
 
253
-        $this->getCapsuleList()->each(function ($capsule) use (
253
+        $this->getCapsuleList()->each(function($capsule) use (
254 254
             $twillSeeder,
255 255
             $illuminateSeeder
256 256
         ) {
Please login to merge, or discard this patch.