@@ -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 |
@@ -47,7 +47,7 @@ |
||
47 | 47 | $dropdown[] = $this->createBlockItem(); |
48 | 48 | $dropdown[] = $this->createBlockLayoutItem(); |
49 | 49 | |
50 | - $item = $this->createPageItem(); |
|
50 | + $item = $this->createPageItem(); |
|
51 | 51 | $item->setIntent(Item::INTENT_DROPDOWN); |
52 | 52 | $item->setAttribute(Html5::ATTR_ID, 'nav-pages'); |
53 | 53 | $item[0]->setAttribute(Html5::ATTR_HREF, 'javascript:void(0);'); |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | */ |
18 | 18 | $router->group( |
19 | 19 | ['controllerNamespace' => 'AbterPhp\Website\Http\Controllers'], |
20 | - function (Router $router) { |
|
20 | + function(Router $router) { |
|
21 | 21 | $router->group( |
22 | 22 | [ |
23 | 23 | 'path' => PATH_ADMIN, |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | Authentication::class, |
26 | 26 | ], |
27 | 27 | ], |
28 | - function (Router $router) { |
|
28 | + function(Router $router) { |
|
29 | 29 | $entities = [ |
30 | 30 | 'pages' => 'Page', |
31 | 31 | 'pagelayouts' => 'PageLayout', |