@@ -35,26 +35,26 @@ |
||
| 35 | 35 | 'icon' => 'icon-shopping-cart', |
| 36 | 36 | 'label' => 'bedard.shop::lang.plugin.navigation.shop', |
| 37 | 37 | 'order' => 500, |
| 38 | - 'permissions' => ['bedard.shop.*'], |
|
| 38 | + 'permissions' => [ 'bedard.shop.*' ], |
|
| 39 | 39 | 'url' => Backend::url('bedard/shop/products'), |
| 40 | 40 | 'sideMenu' => [ |
| 41 | 41 | 'products' => [ |
| 42 | 42 | 'label' => 'bedard.shop::lang.products.plural', |
| 43 | 43 | 'icon' => 'icon-cubes', |
| 44 | 44 | 'url' => Backend::url('bedard/shop/products'), |
| 45 | - 'permissions' => ['bedard.shop.products.*'], |
|
| 45 | + 'permissions' => [ 'bedard.shop.products.*' ], |
|
| 46 | 46 | ], |
| 47 | 47 | 'categories' => [ |
| 48 | 48 | 'label' => 'bedard.shop::lang.categories.plural', |
| 49 | 49 | 'icon' => 'icon-folder-o', |
| 50 | 50 | 'url' => Backend::url('bedard/shop/categories'), |
| 51 | - 'permissions' => ['bedard.shop.categories.*'], |
|
| 51 | + 'permissions' => [ 'bedard.shop.categories.*' ], |
|
| 52 | 52 | ], |
| 53 | 53 | 'discounts' => [ |
| 54 | 54 | 'label' => 'bedard.shop::lang.discounts.plural', |
| 55 | 55 | 'icon' => 'icon-clock-o', |
| 56 | 56 | 'url' => Backend::url('bedard/shop/discounts'), |
| 57 | - 'permissions' => ['bedard.shop.discounts.*'], |
|
| 57 | + 'permissions' => [ 'bedard.shop.discounts.*' ], |
|
| 58 | 58 | ], |
| 59 | 59 | ], |
| 60 | 60 | ], |
@@ -16,24 +16,24 @@ |
||
| 16 | 16 | /** |
| 17 | 17 | * @var array Guarded fields |
| 18 | 18 | */ |
| 19 | - protected $guarded = ['*']; |
|
| 19 | + protected $guarded = [ '*' ]; |
|
| 20 | 20 | |
| 21 | 21 | /** |
| 22 | 22 | * @var array Fillable fields |
| 23 | 23 | */ |
| 24 | - protected $fillable = []; |
|
| 24 | + protected $fillable = [ ]; |
|
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | 27 | * @var array Relations |
| 28 | 28 | */ |
| 29 | - public $hasOne = []; |
|
| 30 | - public $hasMany = []; |
|
| 31 | - public $belongsTo = []; |
|
| 32 | - public $belongsToMany = []; |
|
| 33 | - public $morphTo = []; |
|
| 34 | - public $morphOne = []; |
|
| 35 | - public $morphMany = []; |
|
| 36 | - public $attachOne = []; |
|
| 37 | - public $attachMany = []; |
|
| 29 | + public $hasOne = [ ]; |
|
| 30 | + public $hasMany = [ ]; |
|
| 31 | + public $belongsTo = [ ]; |
|
| 32 | + public $belongsToMany = [ ]; |
|
| 33 | + public $morphTo = [ ]; |
|
| 34 | + public $morphOne = [ ]; |
|
| 35 | + public $morphMany = [ ]; |
|
| 36 | + public $attachOne = [ ]; |
|
| 37 | + public $attachMany = [ ]; |
|
| 38 | 38 | |
| 39 | 39 | } |
| 40 | 40 | \ No newline at end of file |