@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | if (is_object($node)) {
|
| 103 | 103 | $match = array_shift($matches); |
| 104 | 104 | if (property_exists($node, $match)) {
|
| 105 | - if(count($matches) === 0 && isset($node->$match)) {
|
|
| 105 | + if (count($matches) === 0 && isset($node->$match)) {
|
|
| 106 | 106 | $this->founds[] = $node->$match; |
| 107 | 107 | |
| 108 | 108 | return; |
@@ -110,7 +110,7 @@ discard block |
||
| 110 | 110 | $this->walk($node->$match, $matches); |
| 111 | 111 | } |
| 112 | 112 | } elseif (is_array($node)) {
|
| 113 | - foreach($node as $n) {
|
|
| 113 | + foreach ($node as $n) {
|
|
| 114 | 114 | $this->walk($n, $matches); |
| 115 | 115 | } |
| 116 | 116 | } |
@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | |
| 119 | 119 | private function run() |
| 120 | 120 | {
|
| 121 | - foreach($this->targets as $target) {
|
|
| 121 | + foreach ($this->targets as $target) {
|
|
| 122 | 122 | $this->walk($this->dataEntryPoint, $this->parseTarget($target)); |
| 123 | 123 | } |
| 124 | 124 | } |