@@ -43,7 +43,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | /** |