Skip to content

Commit

Permalink
Update DocumentationSidebar.php
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Mar 21, 2024
1 parent a39e78b commit db2fe7a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function isCollapsible(): bool

public function hasGroups(): bool
{
return $this->getItems()->contains(fn (NavigationItem $item): bool => $item instanceof NavigationGroup);
return $this->getItems()->contains(fn (NavigationItem|NavigationGroup $item): bool => $item instanceof NavigationGroup);
}

/**
Expand Down

0 comments on commit db2fe7a

Please sign in to comment.