Passed
Push — master ( d3ce08...00ecc8 )
by Andrew
02:14
created
lib/XMLReaderElement.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -161,8 +161,9 @@
 block discarded – undo
161 161
 
162 162
         if ($search[0] == '@') {
163 163
             $search = substr($search, 1);
164
-            if (property_exists($this->attributes, $search))
165
-                $results[] = $this->attributes->$search;
164
+            if (property_exists($this->attributes, $search)) {
165
+                            $results[] = $this->attributes->$search;
166
+            }
166 167
         }
167 168
 
168 169
         return $results;
Please login to merge, or discard this patch.