@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | if (empty($conditions)) { |
| 52 | 52 | return true; |
| 53 | 53 | } else { |
| 54 | - return array_reduce($conditions, function ($carry, $item) { |
|
| 54 | + return array_reduce($conditions, function($carry, $item) { |
|
| 55 | 55 | return $this->reduce($carry, $item, true); |
| 56 | 56 | }); |
| 57 | 57 | } |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | if ($item === $mode || $carry === $mode) { |
| 71 | 71 | return $mode; |
| 72 | 72 | } elseif (is_array($item)) { |
| 73 | - return array_reduce($item, function ($carry, $item) { |
|
| 73 | + return array_reduce($item, function($carry, $item) { |
|
| 74 | 74 | return $this->reduce($carry, $item, false); |
| 75 | 75 | }); |
| 76 | 76 | } else { |