From 849f82dc216aa5f82bc7fa064f72e27f6a4ad2d7 Mon Sep 17 00:00:00 2001 From: Yurij Finiv Date: Wed, 23 Sep 2026 12:58:46 +0300 Subject: [PATCH] Fix facade permission signature --- src/Facades/Menu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Facades/Menu.php b/src/Facades/Menu.php index 3f47f1b..5e62444 100644 --- a/src/Facades/Menu.php +++ b/src/Facades/Menu.php @@ -13,7 +13,7 @@ * @method static string render(?string $view = null) * @method static MenuManager order(string $id, ?int $priority = null, ?string $before = null, ?string $after = null) * @method static MenuManager group(string $label) - * @method static MenuManager addItem(string $route, ?string $label = null, ?string $icon = null, ?array $children = null, ?string $permission = null, ?string $iconView = null, ?array $parameters = null, mixed $badge = null) + * @method static MenuManager addItem(string $route, ?string $label = null, ?string $icon = null, ?array $children = null, string|array|Closure|null $permission = null, ?string $iconView = null, ?array $parameters = null, mixed $badge = null) */ class Menu extends Facade {