Completed
Push — master ( 571837...d3453b )
by Vincent
04:28 queued 02:28
created
src/Walker.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.