@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | { |
32 | 32 | $this->info('Starting Installation...'); |
33 | 33 | |
34 | - if ( ! env('APP_KEY')) { |
|
34 | + if (!env('APP_KEY')) { |
|
35 | 35 | $this->info('Generating app key'); |
36 | 36 | Artisan::call('key:generate'); |
37 | 37 | } else { |
@@ -39,11 +39,11 @@ discard block |
||
39 | 39 | } |
40 | 40 | |
41 | 41 | $this->info('Migrating database'); |
42 | - Artisan::call('migrate', ['--force' => true]); |
|
42 | + Artisan::call('migrate', [ '--force' => true ]); |
|
43 | 43 | |
44 | - if ( ! User::count()) { |
|
44 | + if (!User::count()) { |
|
45 | 45 | $this->info('Seeding initial data'); |
46 | - Artisan::call('db:seed', ['--force' => true]); |
|
46 | + Artisan::call('db:seed', [ '--force' => true ]); |
|
47 | 47 | } else { |
48 | 48 | $this->comment('Skipping - Data already seeded'); |
49 | 49 | } |
@@ -13,11 +13,11 @@ |
||
13 | 13 | */ |
14 | 14 | public function broadcastOn() |
15 | 15 | { |
16 | - return ['default']; |
|
16 | + return [ 'default' ]; |
|
17 | 17 | } |
18 | 18 | |
19 | 19 | public function broadcastWith() |
20 | 20 | { |
21 | - return []; |
|
21 | + return [ ]; |
|
22 | 22 | } |
23 | 23 | } |
@@ -13,35 +13,35 @@ |
||
13 | 13 | * @var array |
14 | 14 | */ |
15 | 15 | protected $listen = [ |
16 | - 'App\Events\MakeWasCreated' => [], |
|
17 | - 'App\Events\MakeWasDeleted' => [], |
|
16 | + 'App\Events\MakeWasCreated' => [ ], |
|
17 | + 'App\Events\MakeWasDeleted' => [ ], |
|
18 | 18 | |
19 | - 'App\Events\ModelWasCreated' => [], |
|
20 | - 'App\Events\ModelWasDeleted' => [], |
|
19 | + 'App\Events\ModelWasCreated' => [ ], |
|
20 | + 'App\Events\ModelWasDeleted' => [ ], |
|
21 | 21 | |
22 | - 'App\Events\WarehouseWasCreated' => [], |
|
23 | - 'App\Events\WarehouseWasUpdated' => [], |
|
24 | - 'App\Events\WarehouseWasDeleted' => [], |
|
22 | + 'App\Events\WarehouseWasCreated' => [ ], |
|
23 | + 'App\Events\WarehouseWasUpdated' => [ ], |
|
24 | + 'App\Events\WarehouseWasDeleted' => [ ], |
|
25 | 25 | |
26 | - 'App\Events\SupplierWasCreated' => [], |
|
27 | - 'App\Events\SupplierWasDeleted' => [], |
|
26 | + 'App\Events\SupplierWasCreated' => [ ], |
|
27 | + 'App\Events\SupplierWasDeleted' => [ ], |
|
28 | 28 | |
29 | 29 | 'App\Events\PurchaseWasCreated' => [ |
30 | 30 | 'App\Listeners\GeneratePurchaseNotification', |
31 | 31 | ], |
32 | - 'App\Events\PurchaseWasDeleted' => [], |
|
32 | + 'App\Events\PurchaseWasDeleted' => [ ], |
|
33 | 33 | |
34 | 34 | 'App\Events\GuitarWasCreated' => [ |
35 | 35 | 'App\Listeners\GenerateRackNotification', |
36 | 36 | ], |
37 | - 'App\Events\GuitarWasUpdated' => [], |
|
38 | - 'App\Events\GuitarWasDeleted' => [], |
|
37 | + 'App\Events\GuitarWasUpdated' => [ ], |
|
38 | + 'App\Events\GuitarWasDeleted' => [ ], |
|
39 | 39 | |
40 | - 'App\Events\SaleWasCreated' => [], |
|
41 | - 'App\Events\SaleWasDeleted' => [], |
|
40 | + 'App\Events\SaleWasCreated' => [ ], |
|
41 | + 'App\Events\SaleWasDeleted' => [ ], |
|
42 | 42 | |
43 | - 'App\Events\NotificationWasCreated' => [], |
|
44 | - 'App\Events\NotificationWasDismissed' => [], |
|
43 | + 'App\Events\NotificationWasCreated' => [ ], |
|
44 | + 'App\Events\NotificationWasDismissed' => [ ], |
|
45 | 45 | ]; |
46 | 46 | |
47 | 47 | /** |