Passed
Push — master ( 48d2f8...bf4e5d )
by Бабичев
02:22
created
src/XMLReader/XMLReader.php 1 patch
Spacing   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -68,8 +68,7 @@  discard block
 block discarded – undo
68 68
             if ($properties)
69 69
             {
70 70
                 $output['@' . $property] = is_array($properties) ?
71
-                    $properties :
72
-                    $this->_asArray($properties);
71
+                    $properties : $this->_asArray($properties);
73 72
 
74 73
                 if (empty($output['@' . $property]))
75 74
                 {
@@ -178,8 +177,7 @@  discard block
 block discarded – undo
178 177
         $data = $this->_simpleXml($mixed);
179 178
 
180 179
         return $data ?
181
-            $this->_asArray($data) :
182
-            null;
180
+            $this->_asArray($data) : null;
183 181
     }
184 182
 
185 183
     /**
Please login to merge, or discard this patch.