Passed
Branch dev (ed2997)
by Бабичев
19:38 queued 09:42
created
src/XMLReader/XMLReader.php 1 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.