|
@@ -72,7 +72,7 @@ discard block |
|
|
block discarded – undo |
|
72
|
72
|
* @param mixed[] $context |
|
73
|
73
|
* @param string[] $tags |
|
74
|
74
|
*/ |
|
75
|
|
- 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 = [], array $tags = []) |
|
|
75
|
+ 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 = [], array $tags = []) |
|
76
|
76
|
{ |
|
77
|
77
|
$this->id = $id; |
|
78
|
78
|
$this->title = $title; |
|
@@ -240,7 +240,7 @@ discard block |
|
|
block discarded – undo |
|
240
|
240
|
/** |
|
241
|
241
|
* @return null|string[] |
|
242
|
242
|
*/ |
|
243
|
|
- public function getMenu(): ?array |
|
|
243
|
+ public function getMenu(): ? array |
|
244
|
244
|
{ |
|
245
|
245
|
return $this->menu; |
|
246
|
246
|
} |
Please login to merge, or discard this patch.