Completed
Push — 1.x ( 7c9630...91934d )
by Asao
01:28
created
src/Tags/TagToString.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,12 @@
 block discarded – undo
29 29
         if ($attributes = $element->getAttribute()) {
30 30
             $property = [];
31 31
             foreach ($attributes as $key => $val) {
32
-                if ($val === false) continue;
33
-                if ($key === 'value' && '' === (string) $val) continue;
32
+                if ($val === false) {
33
+                    continue;
34
+                }
35
+                if ($key === 'value' && '' === (string) $val) {
36
+                    continue;
37
+                }
34 38
                 if (is_numeric($key)) {
35 39
                     $key = $val;
36 40
                 } elseif ($val === true) {
Please login to merge, or discard this patch.