Skip to content

Commit

Permalink
Merge pull request #533 from Abdulmajeed-Jamaan/hot-fix-InteractsWith…
Browse files Browse the repository at this point in the history
…Menus-type-hinting

Set the proper type hinting in `InteractsWithMenus` trait
  • Loading branch information
awcodes authored Jan 6, 2025
2 parents f69c83e + 2dcf186 commit ce9c4fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Concerns/InteractsWithMenus.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ trait InteractsWithMenus

protected array | Closure | null $floatingMenuTools = null;

protected ?bool $shouldShowBubbleMenus = null;
protected bool | Closure | null $shouldShowBubbleMenus = null;

protected ?bool $shouldShowFloatingMenus = null;
protected bool | Closure | null $shouldShowFloatingMenus = null;

protected ?bool $shouldShowToolbarMenus = null;
protected bool | Closure | null $shouldShowToolbarMenus = null;

public function disableBubbleMenus(bool | Closure | null $condition = true): static
{
Expand Down

0 comments on commit ce9c4fd

Please sign in to comment.