@@ -78,7 +78,7 @@ |
||
78 | 78 | |
79 | 79 | foreach ($this->attributes as $name => $value) { |
80 | 80 | $name = ($this->formatter)($name); |
81 | - $attributes .= ' ' . ($value === true ? $name : sprintf('%s="%s"', $name, ($this->formatter)((string)$value))); |
|
81 | + $attributes .= ' '.($value === true ? $name : sprintf('%s="%s"', $name, ($this->formatter)((string)$value))); |
|
82 | 82 | } |
83 | 83 | |
84 | 84 | return $this->inner === null |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | $attributes['alt'] ??= $alt; |
24 | 24 | $attributes['title'] ??= $alt; |
25 | 25 | |
26 | - return new Element('img', null,$attributes, $formatter); |
|
26 | + return new Element('img', null, $attributes, $formatter); |
|
27 | 27 | } |
28 | 28 | |
29 | 29 | /** |
@@ -36,6 +36,6 @@ discard block |
||
36 | 36 | { |
37 | 37 | $attributes['href'] = $href; |
38 | 38 | |
39 | - return new Element('a', $label,$attributes, $formatter); |
|
39 | + return new Element('a', $label, $attributes, $formatter); |
|
40 | 40 | } |
41 | 41 | } |