@@ -22,7 +22,9 @@ |
||
| 22 | 22 | public static function apply(array $attributes, array $filters) :array |
| 23 | 23 | { |
| 24 | 24 | foreach ($filters as $attribute => $filter) { |
| 25 | - if (!array_key_exists($attribute, $attributes)) continue; |
|
| 25 | + if (!array_key_exists($attribute, $attributes)) { |
|
| 26 | + continue; |
|
| 27 | + } |
|
| 26 | 28 | |
| 27 | 29 | $attributes[$attribute] = $filter($attributes[$attribute]); |
| 28 | 30 | } |