@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | $patterns = $this->_split(':', '(', ')', substr($pattern, 1, -1)); |
55 | 55 | $last_pattern = array_pop($patterns); |
56 | 56 | |
57 | - if(! is_array($value)) { |
|
57 | + if(!is_array($value)) { |
|
58 | 58 | return false; |
59 | 59 | } |
60 | 60 | |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | |
117 | 117 | protected function _recurse($value, $patterns) |
118 | 118 | { |
119 | - if(! is_array($value) || count($patterns) > count($value)) { |
|
119 | + if(!is_array($value) || count($patterns) > count($value)) { |
|
120 | 120 | return false; |
121 | 121 | } |
122 | 122 | |
@@ -128,8 +128,7 @@ discard block |
||
128 | 128 | protected function _mergeResults($new, $current) |
129 | 129 | { |
130 | 130 | return $new === false || $current === false ? |
131 | - false : |
|
132 | - array_merge($current, $new); |
|
131 | + false : array_merge($current, $new); |
|
133 | 132 | } |
134 | 133 | |
135 | 134 | protected function _invalidPattern($pattern) |