@@ -33,6 +33,6 @@ |
||
| 33 | 33 | */ |
| 34 | 34 | public function broadcastOn() |
| 35 | 35 | { |
| 36 | - return ['default']; |
|
| 36 | + return [ 'default' ]; |
|
| 37 | 37 | } |
| 38 | 38 | } |
@@ -33,6 +33,6 @@ |
||
| 33 | 33 | */ |
| 34 | 34 | public function broadcastOn() |
| 35 | 35 | { |
| 36 | - return ['default']; |
|
| 36 | + return [ 'default' ]; |
|
| 37 | 37 | } |
| 38 | 38 | } |
@@ -13,27 +13,27 @@ |
||
| 13 | 13 | * @var array |
| 14 | 14 | */ |
| 15 | 15 | protected $listen = [ |
| 16 | - 'App\Events\MakeWasCreated' => [], |
|
| 17 | - 'App\Events\MakeWasDeleted' => [], |
|
| 18 | - 'App\Events\WarehouseWasCreated' => [], |
|
| 19 | - 'App\Events\WarehouseWasUpdated' => [], |
|
| 20 | - 'App\Events\WarehouseWasDeleted' => [], |
|
| 21 | - 'App\Events\SupplierWasCreated' => [], |
|
| 22 | - 'App\Events\SupplierWasDeleted' => [], |
|
| 16 | + 'App\Events\MakeWasCreated' => [ ], |
|
| 17 | + 'App\Events\MakeWasDeleted' => [ ], |
|
| 18 | + 'App\Events\WarehouseWasCreated' => [ ], |
|
| 19 | + 'App\Events\WarehouseWasUpdated' => [ ], |
|
| 20 | + 'App\Events\WarehouseWasDeleted' => [ ], |
|
| 21 | + 'App\Events\SupplierWasCreated' => [ ], |
|
| 22 | + 'App\Events\SupplierWasDeleted' => [ ], |
|
| 23 | 23 | 'App\Events\PurchaseWasCreated' => [ |
| 24 | 24 | 'App\Listeners\GeneratePurchaseNotification', |
| 25 | 25 | ], |
| 26 | - 'App\Events\PurchaseWasDeleted' => [], |
|
| 27 | - 'App\Events\ModelWasCreated' => [], |
|
| 28 | - 'App\Events\ModelWasDeleted' => [], |
|
| 26 | + 'App\Events\PurchaseWasDeleted' => [ ], |
|
| 27 | + 'App\Events\ModelWasCreated' => [ ], |
|
| 28 | + 'App\Events\ModelWasDeleted' => [ ], |
|
| 29 | 29 | 'App\Events\GuitarWasCreated' => [ |
| 30 | 30 | 'App\Listeners\GenerateRackNotification', |
| 31 | 31 | ], |
| 32 | - 'App\Events\GuitarWasDeleted' => [], |
|
| 33 | - 'App\Events\SaleWasCreated' => [], |
|
| 34 | - 'App\Events\SaleWasDeleted' => [], |
|
| 35 | - 'App\Events\NotificationWasCreated' => [], |
|
| 36 | - 'App\Events\NotificationWasDismissed' => [], |
|
| 32 | + 'App\Events\GuitarWasDeleted' => [ ], |
|
| 33 | + 'App\Events\SaleWasCreated' => [ ], |
|
| 34 | + 'App\Events\SaleWasDeleted' => [ ], |
|
| 35 | + 'App\Events\NotificationWasCreated' => [ ], |
|
| 36 | + 'App\Events\NotificationWasDismissed' => [ ], |
|
| 37 | 37 | ]; |
| 38 | 38 | |
| 39 | 39 | /** |
@@ -11,7 +11,7 @@ discard block |
||
| 11 | 11 | * |
| 12 | 12 | * @var array |
| 13 | 13 | */ |
| 14 | - protected $guarded = []; |
|
| 14 | + protected $guarded = [ ]; |
|
| 15 | 15 | |
| 16 | 16 | /** |
| 17 | 17 | * @return \Illuminate\Database\Eloquent\Relations\MorphTo |
@@ -47,6 +47,6 @@ discard block |
||
| 47 | 47 | */ |
| 48 | 48 | public function dismiss() |
| 49 | 49 | { |
| 50 | - return $this->update(['dismissed' => true]); |
|
| 50 | + return $this->update([ 'dismissed' => true ]); |
|
| 51 | 51 | } |
| 52 | 52 | } |