Passed
Push — master ( ff49cc...985446 )
by Бабичев
03:15
created
src/XMLReader/XMLReader.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -270,12 +270,10 @@
 block discarded – undo
270 270
         if ($key === '@attributes')
271 271
         {
272 272
             $this->addAttributes($element, $storage);
273
-        }
274
-        else if ($key === '@value' && \is_string($storage))
273
+        } else if ($key === '@value' && \is_string($storage))
275 274
         {
276 275
             $element->nodeValue = \htmlspecialchars($storage);
277
-        }
278
-        else
276
+        } else
279 277
         {
280 278
             $this->addNode($element, $key, $storage);
281 279
         }
Please login to merge, or discard this patch.