Skip to content

Commit

Permalink
Remove null type support from facade helper method
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Feb 29, 2024
1 parent 8c43c4f commit 2d90f7c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ public static function forRoute(Route|string $route, ?string $label = null, ?int
*
* @param string $label The label of the dropdown item.
* @param array<NavItem> $items The items to be included in the dropdown.
* @param int|null $priority The priority of the dropdown item. Leave blank to use the default priority, which is last in the menu.
* @param int $priority The priority of the dropdown item. Leave blank to use the default priority, which is last in the menu.
*/
public static function forGroup(string $label, array $items, ?int $priority = NavigationMenu::LAST): static
public static function forGroup(string $label, array $items, int $priority = NavigationMenu::LAST): static
{
return new static('', $label, $priority, $label, $items);
}
Expand Down

0 comments on commit 2d90f7c

Please sign in to comment.