Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to authored and github-actions[bot] committed Feb 8, 2025
1 parent b3ea271 commit 3caaeb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MenuManager/src/MenuManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function topMode(?Closure $condition = null): static
public function all(?iterable $items = null): MenuElementsContract
{
return MenuElements::make($items ?: $this->items)
->map(static fn(array|MenuElementContract $item): MenuElementContract => $item)
->map(static fn (array|MenuElementContract $item): MenuElementContract => $item)
->onlyVisible()
->when(
$this->conditionItems !== [],
Expand Down

0 comments on commit 3caaeb9

Please sign in to comment.