@@ -52,7 +52,7 @@ |
||
| 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() |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | * @param string $label The text for the menu item |
| 39 | 39 | * @param string|null $url The link for the menu (relative to the root url), unless it starts with / or http:// or https:// or # or ?. |
| 40 | 40 | */ |
| 41 | - public function __construct(string $label, string $url=null) { |
|
| 41 | + public function __construct(string $label, string $url = null) { |
|
| 42 | 42 | $this->label = $label; |
| 43 | 43 | $this->url = $url; |
| 44 | 44 | $this->children = new \SplPriorityQueue(); |