@@ -12,9 +12,9 @@ discard block |
||
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 |
||
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 | } |