Completed
Branch 1.x (4583b7)
by Asao
02:52 queued 01:11
created
src/Tags/TagToString.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@  discard block
 block discarded – undo
12 12
         $prop = self::htmlProperty($element->getAttribute());
13 13
         $tag  = $element->getTagName();
14 14
         if ($element->isClosed() || $element->hasContents()) {
15
-            $html = '<' . $tag . $prop . ' >' . $element->getContents() . "</{$tag}>" . "\n";
15
+            $html = '<'.$tag.$prop.' >'.$element->getContents()."</{$tag}>"."\n";
16 16
         } else {
17
-            $html = '<' . $tag . $prop . ' >' . "\n";
17
+            $html = '<'.$tag.$prop.' >'."\n";
18 18
         }
19 19
         $html = rtrim($html);
20 20
         return $html;
@@ -37,10 +37,10 @@  discard block
 block discarded – undo
37 37
                     // ignore if $val is false.
38 38
                 } elseif ($val !== false) {
39 39
                     // ignore if $val is false.
40
-                    $property[] = $key . "=\"{$val}\"";
40
+                    $property[] = $key."=\"{$val}\"";
41 41
                 }
42 42
             }
43
-            return ' ' . implode(' ', $property);
43
+            return ' '.implode(' ', $property);
44 44
         }
45 45
         return '';
46 46
     }
Please login to merge, or discard this patch.