Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/3.x' into 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to committed Feb 14, 2025
2 parents e5eb5aa + 6c09405 commit ce78bb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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()
);

if(!$item->hasCanSeeCallback()) {
if (! $item->hasCanSeeCallback()) {
$item->canSee(static fn (): int => $item->getItems()->count());
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/UI/src/Traits/HasCanSee.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function canSee(Closure $callback): static

public function isSee(): bool
{
if (!$this->hasCanSeeCallback()) {
if (! $this->hasCanSeeCallback()) {
return true;
}

Expand Down

0 comments on commit ce78bb6

Please sign in to comment.