@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | return; |
172 | 172 | } |
173 | 173 | |
174 | - if(!isset($this[$type][$index])) { |
|
174 | + if (!isset($this[$type][$index])) { |
|
175 | 175 | throw new NoSuchElementException("There is no rule '$type' type indexed by '$index'."); |
176 | 176 | } |
177 | 177 | |
@@ -186,7 +186,7 @@ discard block |
||
186 | 186 | public function all() |
187 | 187 | { |
188 | 188 | $items = $this->getArrayCopy(); |
189 | - if(empty($items)) return []; |
|
189 | + if (empty($items)) return []; |
|
190 | 190 | |
191 | 191 | return call_user_func_array('array_merge', $items); |
192 | 192 | } |