Completed
Push — master ( 8c93ff...a1e415 )
by Scott
02:22
created
models/Promotion.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
     public function filterFields($fields)
85 85
     {
86 86
         $fields->amount_exact->hidden = $this->is_percentage;
87
-        $fields->amount_percentage->hidden = ! $this->is_percentage;
87
+        $fields->amount_percentage->hidden = !$this->is_percentage;
88 88
     }
89 89
 
90 90
     /**
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
      */
95 95
     public function getAmountExactAttribute()
96 96
     {
97
-        return ! $this->is_percentage ? $this->amount : 0;
97
+        return !$this->is_percentage ? $this->amount : 0;
98 98
     }
99 99
 
100 100
     /**
Please login to merge, or discard this patch.