Completed
Push — master ( 3257fd...65449d )
by Scott
02:13
created
Plugin.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -35,26 +35,26 @@
 block discarded – undo
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
             ],
Please login to merge, or discard this patch.
models/Discount.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -16,24 +16,24 @@
 block discarded – undo
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
Please login to merge, or discard this patch.