@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | { |
126 | 126 | $attributeCallbacks = parent::getAttributeCallbacks(); |
127 | 127 | |
128 | - $attributeCallbacks[Html5::ATTR_CLASS] = function ($attribute, Entity $entity) { |
|
128 | + $attributeCallbacks[Html5::ATTR_CLASS] = function($attribute, Entity $entity) { |
|
129 | 129 | return $entity->isWritable() ? $attribute : Component::INTENT_HIDDEN; |
130 | 130 | }; |
131 | 131 | |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | { |
140 | 140 | $urlGenerator = $this->urlGenerator; |
141 | 141 | |
142 | - $closure = function ($attribute, Entity $entity) use ($urlGenerator) { |
|
142 | + $closure = function($attribute, Entity $entity) use ($urlGenerator) { |
|
143 | 143 | try { |
144 | 144 | // @phan-suppress-next-line PhanTypeMismatchArgument |
145 | 145 | return $urlGenerator->createFromName($attribute, $entity->getFilesystemName()); |