@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | if (is_object($node)) { |
101 | 101 | $match = array_shift($matches); |
102 | 102 | if (property_exists($node, $match)) { |
103 | - if(count($matches) === 0 && isset($node->$match)) { |
|
103 | + if (count($matches) === 0 && isset($node->$match)) { |
|
104 | 104 | $this->founds[] = $node->$match; |
105 | 105 | |
106 | 106 | return; |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | $this->walk($node->$match, $matches); |
109 | 109 | } |
110 | 110 | } elseif (is_array($node)) { |
111 | - foreach($node as $n) { |
|
111 | + foreach ($node as $n) { |
|
112 | 112 | $this->walk($n, $matches); |
113 | 113 | } |
114 | 114 | } |