Passed
Push — master ( cf2785...6cdb8b )
by Peter
08:35
created
src/Form/Factory/Page/Meta.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Bootstrappers/Http/Views/BuildersBootstrapper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Events/Listeners/NavigationBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
         $dropdown[] = $this->createBlockLayoutItem();
49 49
         $dropdown[] = $this->createContentListItem();
50 50
 
51
-        $item   = $this->createPageItem();
51
+        $item = $this->createPageItem();
52 52
         $item->setIntent(Item::INTENT_DROPDOWN);
53 53
         $item->setAttribute(Html5::ATTR_ID, 'nav-pages');
54 54
         $item[0]->setAttribute(Html5::ATTR_HREF, 'javascript:void(0);');
Please login to merge, or discard this patch.
src/Http/Controllers/Admin/Grid/ContentList.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     const ENTITY_SINGULAR = 'contentList';
19 19
     const ENTITY_PLURAL   = 'lists';
20 20
 
21
-    const ENTITY_TITLE_PLURAL   = 'website:contentLists';
21
+    const ENTITY_TITLE_PLURAL = 'website:contentLists';
22 22
 
23 23
     const ROUTING_PATH = 'lists';
24 24
 
Please login to merge, or discard this patch.
admin-routes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
  */
20 20
 $router->group(
21 21
     ['controllerNamespace' => 'AbterPhp\Website\Http\Controllers'],
22
-    function (Router $router) {
22
+    function(Router $router) {
23 23
         $router->group(
24 24
             [
25 25
                 'path'       => RoutesConfig::getAdminBasePath(),
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
                     Authentication::class,
28 28
                 ],
29 29
             ],
30
-            function (Router $router) {
30
+            function(Router $router) {
31 31
                 $entities = [
32 32
                     'blocks'          => 'Block',
33 33
                     'block-layouts'   => 'BlockLayout',
Please login to merge, or discard this patch.
api-routes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
  */
16 16
 $router->group(
17 17
     ['controllerNamespace' => 'AbterPhp\Website\Http\Controllers'],
18
-    function (Router $router) {
18
+    function(Router $router) {
19 19
         $router->group(
20 20
             [
21 21
                 'path' => RoutesConfig::getApiBasePath(),
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
                     Api::class,
24 24
                 ],
25 25
             ],
26
-            function (Router $router) {
26
+            function(Router $router) {
27 27
                 $entities = [
28 28
                     'pages'          => 'Page',
29 29
                     'page-layouts'    => 'PageLayout',
Please login to merge, or discard this patch.
website-routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
  */
15 15
 $router->group(
16 16
     ['controllerNamespace' => 'AbterPhp\Website\Http\Controllers'],
17
-    function (Router $router) {
17
+    function(Router $router) {
18 18
         /** @see \AbterPhp\Website\Http\Controllers\Website\Index::index() */
19 19
         $router->get(
20 20
             '/',
Please login to merge, or discard this patch.
src/Grid/Factory/Page.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@
 block discarded – undo
153 153
         $urlGenerator = $this->urlGenerator;
154 154
 
155 155
         // @phan-suppress-next-line PhanUnusedVariable
156
-        $hrefClosure = function ($attribute, Entity $entity) use ($urlGenerator) {
156
+        $hrefClosure = function($attribute, Entity $entity) use ($urlGenerator) {
157 157
             // @phan-suppress-next-line PhanTypeMismatchArgument
158 158
             return $urlGenerator->createFromName(Route::FALLBACK, $entity->getIdentifier());
159 159
         };
Please login to merge, or discard this patch.