Passed
Branch dev (ed2997)
by Бабичев
19:38 queued 09:42
created
src/XMLReader/XMLReader.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -108,8 +108,8 @@
 block discarded – undo
108 108
         {
109 109
             if (!$item->count())
110 110
             {
111
-                 $output[$key] = $this->_asArray($item);
112
-                 continue;
111
+                    $output[$key] = $this->_asArray($item);
112
+                    continue;
113 113
             }
114 114
 
115 115
             Arr::initOrPush(
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -214,12 +214,10 @@
 block discarded – undo
214 214
         if ($key === '@attributes')
215 215
         {
216 216
             $this->addAttributes($element, $storage);
217
-        }
218
-        else if ($key === '@value' && is_string($storage))
217
+        } else if ($key === '@value' && is_string($storage))
219 218
         {
220 219
             $element->nodeValue = htmlspecialchars($storage);
221
-        }
222
-        else
220
+        } else
223 221
         {
224 222
             $this->addNode($element, $key, $storage);
225 223
         }
Please login to merge, or discard this patch.