Skip to content

Commit

Permalink
[rector] Rector fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to authored and github-actions[bot] committed Feb 9, 2025
1 parent 31752c4 commit 0381a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MenuManager/src/MenuElements.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function onlyVisible(): self
$item->getItems()->onlyVisible()
);

$item->canSee(static fn() => $item->getItems()->count());
$item->canSee(static fn(): int => $item->getItems()->count());
}

return $item->isSee();
Expand Down

0 comments on commit 0381a84

Please sign in to comment.