Completed
Push — master ( b2dc93...6950e4 )
by Scott
03:20
created
models/Discount.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     /**
44 44
      * @var array Guarded fields
45 45
      */
46
-    protected $guarded = ['*'];
46
+    protected $guarded = [ '*' ];
47 47
 
48 48
     /**
49 49
      * @var array Fillable fields
@@ -68,8 +68,8 @@  discard block
 block discarded – undo
68 68
     /**
69 69
      * @var array Relations
70 70
      */
71
-    public $hasMany = [];
72
-    public $morphMany = [];
71
+    public $hasMany = [ ];
72
+    public $morphMany = [ ];
73 73
 
74 74
     /**
75 75
      * @var  array Validation rules
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
     public function filterFields($fields)
100 100
     {
101 101
         $fields->amount_exact->hidden = $this->is_percentage;
102
-        $fields->amount_percentage->hidden = ! $this->is_percentage;
102
+        $fields->amount_percentage->hidden = !$this->is_percentage;
103 103
     }
104 104
 
105 105
     /**
Please login to merge, or discard this patch.