@@ -67,7 +67,7 @@ |
||
| 67 | 67 | $attributes[Html5::ATTR_TYPE] = static::DEFAULT_TYPE; |
| 68 | 68 | } |
| 69 | 69 | |
| 70 | - $attributes[Html5::ATTR_NAME] = $name; |
|
| 70 | + $attributes[Html5::ATTR_NAME] = $name; |
|
| 71 | 71 | |
| 72 | 72 | parent::__construct(null, $intents, $attributes, $tag); |
| 73 | 73 | |
@@ -157,7 +157,7 @@ |
||
| 157 | 157 | protected function parseResult(): array |
| 158 | 158 | { |
| 159 | 159 | return array_map( |
| 160 | - function ($typeArray) { |
|
| 160 | + function($typeArray) { |
|
| 161 | 161 | return array_keys($typeArray); |
| 162 | 162 | }, |
| 163 | 163 | $this->subTemplates |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | */ |
| 15 | 15 | $router->group( |
| 16 | 16 | ['controllerNamespace' => 'AbterPhp\Framework\Http\Controllers'], |
| 17 | - function (Router $router) { |
|
| 17 | + function(Router $router) { |
|
| 18 | 18 | |
| 19 | 19 | /** @see \AbterPhp\Framework\Http\Controllers\Website\Index::notFound() */ |
| 20 | 20 | $router->any( |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | |
| 25 | 25 | $viewFactory->registerBuilder( |
| 26 | 26 | 'layouts/default', |
| 27 | - function (IView $view) use ($container) { |
|
| 27 | + function(IView $view) use ($container) { |
|
| 28 | 28 | /** @see DefaultBuilder::build() */ |
| 29 | 29 | return (new DefaultBuilder())->build($view); |
| 30 | 30 | } |