@@ -46,7 +46,7 @@ |
||
| 46 | 46 | return; |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | - $item = $this->createFilesItem(); |
|
| 49 | + $item = $this->createFilesItem(); |
|
| 50 | 50 | |
| 51 | 51 | $navigation->addItem($item, static::BASE_WEIGHT); |
| 52 | 52 | } |
@@ -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 | return $urlGenerator->createFromName($attribute, [$entity->getFilesystemName()]); |
| 145 | 145 | } catch (\Exception $e) { |