@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | |
| 27 | 27 | return $list |
| 28 | 28 | ->where('enabled', true) |
| 29 | - ->map(function ($capsule) use ($path) { |
|
| 29 | + ->map(function($capsule) use ($path) { |
|
| 30 | 30 | return $this->makeCapsule($capsule, $path); |
| 31 | 31 | }); |
| 32 | 32 | } |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | public function getCapsuleByModule($module) |
| 42 | 42 | { |
| 43 | 43 | return $this->getCapsuleList() |
| 44 | - ->filter(function ($capsule) use ($module) { |
|
| 44 | + ->filter(function($capsule) use ($module) { |
|
| 45 | 45 | return Str::lower($capsule['plural']) == Str::lower($module); |
| 46 | 46 | }) |
| 47 | 47 | ->first(); |
@@ -269,7 +269,7 @@ discard block |
||
| 269 | 269 | { |
| 270 | 270 | $twillSeeder = app(CapsuleSeeder::class); |
| 271 | 271 | |
| 272 | - $this->getCapsuleList()->each(function ($capsule) use ( |
|
| 272 | + $this->getCapsuleList()->each(function($capsule) use ( |
|
| 273 | 273 | $twillSeeder, |
| 274 | 274 | $illuminateSeeder |
| 275 | 275 | ) { |
@@ -380,7 +380,7 @@ discard block |
||
| 380 | 380 | return; |
| 381 | 381 | } |
| 382 | 382 | |
| 383 | - collect($files)->each(function ($file) { |
|
| 383 | + collect($files)->each(function($file) { |
|
| 384 | 384 | if (file_exists($file)) { |
| 385 | 385 | require_once $file; |
| 386 | 386 | } |