@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | */ |
| 102 | 102 | public function fill(array $attributes) |
| 103 | 103 | { |
| 104 | - $this->attributes = array_map(function ($attributes) { |
|
| 104 | + $this->attributes = array_map(function($attributes) { |
|
| 105 | 105 | return strip_tags($attributes); |
| 106 | 106 | }, $attributes); |
| 107 | 107 | return $this; |
@@ -406,7 +406,7 @@ discard block |
||
| 406 | 406 | */ |
| 407 | 407 | public function toArray(): array |
| 408 | 408 | { |
| 409 | - return array_filter($this->attributes, function ($attribute) { |
|
| 409 | + return array_filter($this->attributes, function($attribute) { |
|
| 410 | 410 | return $attribute ? true : false; |
| 411 | 411 | }); |
| 412 | 412 | } |