@@ -74,7 +74,7 @@ |
||
74 | 74 | 'website:pageOGDescription', |
75 | 75 | Countable::DEFAULT_SIZE |
76 | 76 | ); |
77 | - $help = new Help('website:pageOGDescriptionHelp'); |
|
77 | + $help = new Help('website:pageOGDescriptionHelp'); |
|
78 | 78 | |
79 | 79 | return new FormGroup($input, $label, $help); |
80 | 80 | } |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | |
25 | 25 | $viewFactory->registerBuilder( |
26 | 26 | 'layouts/frontend/default', |
27 | - function (IView $view) use ($container) { |
|
27 | + function(IView $view) use ($container) { |
|
28 | 28 | /** @var IEventDispatcher $eventDispatcher */ |
29 | 29 | $eventDispatcher = $container->resolve(IEventDispatcher::class); |
30 | 30 | |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | ); |
35 | 35 | $viewFactory->registerBuilder( |
36 | 36 | 'layouts/frontend/empty', |
37 | - function (IView $view) use ($container) { |
|
37 | + function(IView $view) use ($container) { |
|
38 | 38 | /** @var IEventDispatcher $eventDispatcher */ |
39 | 39 | $eventDispatcher = $container->resolve(IEventDispatcher::class); |
40 | 40 |
@@ -18,7 +18,7 @@ |
||
18 | 18 | */ |
19 | 19 | $router->group( |
20 | 20 | ['controllerNamespace' => 'AbterPhp\Website\Http\Controllers'], |
21 | - function (Router $router) { |
|
21 | + function(Router $router) { |
|
22 | 22 | /** @see \AbterPhp\Website\Http\Controllers\Website\Index::homePage() */ |
23 | 23 | $router->get(Routes::PATH_HOME, 'Website\Index@homePage', [OPTION_NAME => Routes::ROUTE_HOME]); |
24 | 24 |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | */ |
19 | 19 | $router->group( |
20 | 20 | ['controllerNamespace' => 'AbterPhp\Website\Http\Controllers'], |
21 | - function (Router $router) { |
|
21 | + function(Router $router) { |
|
22 | 22 | $router->group( |
23 | 23 | [ |
24 | 24 | 'path' => PATH_ADMIN, |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | Authentication::class, |
27 | 27 | ], |
28 | 28 | ], |
29 | - function (Router $router) { |
|
29 | + function(Router $router) { |
|
30 | 30 | $entities = [ |
31 | 31 | 'pages' => 'Page', |
32 | 32 | 'pagelayouts' => 'PageLayout', |