Passed
Push — master ( 4bccec...259a7c )
by David
01:44
created
src/Registry/StaticRegistry.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
         $page = $this->pageRegistry->getPage($url, $domain);
36 36
 
37 37
         $block = new Block($this->themeRegistry->getThemeDescriptor($page->getTheme()), [
38
-            'content' => [ $page->getContent() ]
38
+            'content' => [$page->getContent()]
39 39
         ]);
40 40
 
41 41
         return $block;
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
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     /**
54 54
      * @param string[]|null $menu
55 55
      */
56
-    public function __construct(?string $id, string $title, string $content, string $url, string $lang, ?string $website, ?array $menu, ?int $menuOrder, ?string $metaTitle, ?string $metaDescription, ?string $theme)
56
+    public function __construct(?string $id, string $title, string $content, string $url, string $lang, ?string $website, ? array $menu, ?int $menuOrder, ?string $metaTitle, ?string $metaDescription, ?string $theme)
57 57
     {
58 58
         $this->id = $id;
59 59
         $this->title = $title;
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
     /**
168 168
      * @return null|string[]
169 169
      */
170
-    public function getMenu(): ?array
170
+    public function getMenu(): ? array
171 171
     {
172 172
         return $this->menu;
173 173
     }
Please login to merge, or discard this patch.