@@ -64,12 +64,12 @@ |
||
64 | 64 | private function convertArrayToAttributes(array $attributesMap): string |
65 | 65 | { |
66 | 66 | // remove attributes set specifically to false |
67 | - $attributesMap = array_filter($attributesMap, static function ($value) { |
|
67 | + $attributesMap = array_filter($attributesMap, static function($value) { |
|
68 | 68 | return false !== $value; |
69 | 69 | }); |
70 | 70 | |
71 | 71 | return implode(' ', array_map( |
72 | - static function ($key, string|true|null $value) { |
|
72 | + static function($key, string|true|null $value) { |
|
73 | 73 | // allows for things like defer: true to only render "defer" |
74 | 74 | if (true === $value || null === $value) { |
75 | 75 | return $key; |