Skip to content

Commit 8461e60

Browse files
committed
Move up parent constructor call
1 parent b412f34 commit 8461e60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/framework/src/Framework/Features/Navigation/NavigationGroup.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ class NavigationGroup extends NavigationMenu
2121

2222
public function __construct(string $label, array $items = [], int $priority = NavigationMenu::LAST)
2323
{
24+
parent::__construct($items);
25+
2426
$this->label = $label;
2527
$this->priority = $priority;
26-
27-
parent::__construct($items);
2828
}
2929

3030
public static function create(string $label, array $items = [], int $priority = NavigationMenu::LAST): static

0 commit comments

Comments
 (0)