Completed
Pull Request — master (#2)
by David
02:09
created
src/Registry/StaticRegistry.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
         }
53 53
 
54 54
         $pageBlock = new Block($themeDescriptor, [
55
-            'content' => [ $contentBlock ],
55
+            'content' => [$contentBlock],
56 56
             'title' => $page->getTitle(),
57 57
             'url' => $page->getUrl(),
58 58
             'menu' => $this->pageRegistry->getRootMenuItem()
Please login to merge, or discard this patch.
src/Loaders/Page.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     /**
66 66
      * @param string[]|null $menu
67 67
      */
68
-    public function __construct(?string $id, string $title, string $content, string $url, string $lang, ?string $website, ?array $menu, ?int $menuOrder, ?string $menuCssClass, ?string $metaTitle, ?string $metaDescription, ?string $theme, ?string $template, array $context = [])
68
+    public function __construct(?string $id, string $title, string $content, string $url, string $lang, ?string $website, ? array $menu, ?int $menuOrder, ?string $menuCssClass, ?string $metaTitle, ?string $metaDescription, ?string $theme, ?string $template, array $context = [])
69 69
     {
70 70
         $this->id = $id;
71 71
         $this->title = $title;
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
     /**
186 186
      * @return null|string[]
187 187
      */
188
-    public function getMenu(): ?array
188
+    public function getMenu(): ? array
189 189
     {
190 190
         return $this->menu;
191 191
     }
Please login to merge, or discard this patch.