@@ -176,7 +176,7 @@ discard block |
||
| 176 | 176 | { |
| 177 | 177 | $this->ignoreEmptyAttributes = $ignoreEmptyAttributes; |
| 178 | 178 | if ($ignoreEmptyAttributes) { |
| 179 | - $this->attributes = array_filter($this->attributes, function ($item) { return trim((string) $item) !== ''; }); |
|
| 179 | + $this->attributes = array_filter($this->attributes, function($item) { return trim((string) $item) !== ''; }); |
|
| 180 | 180 | } |
| 181 | 181 | } |
| 182 | 182 | |
@@ -205,7 +205,7 @@ discard block |
||
| 205 | 205 | return; |
| 206 | 206 | } |
| 207 | 207 | if ($escapeSpecialCharacters) { |
| 208 | - $attributeValue = htmlspecialchars((string)$attributeValue); |
|
| 208 | + $attributeValue = htmlspecialchars((string) $attributeValue); |
|
| 209 | 209 | } |
| 210 | 210 | $this->attributes[$attributeName] = $attributeValue; |
| 211 | 211 | } |