@@ -25,7 +25,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 | } |