Completed
Push — master ( e34852...9af992 )
by Vincent
01:50
created
src/Walker.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
         }
Please login to merge, or discard this patch.