Skip to content

Commit 03bd832

Browse files
committed
fix: MenuBuilder facade function duplicates and arguments
1 parent cc1cb87 commit 03bd832

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Facades/Menu.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace Native\Laravel\Facades;
44

55
use Illuminate\Support\Facades\Facade;
6+
use Native\Laravel\Contracts\MenuItem;
67
use Native\Laravel\Menu\Items\Checkbox;
78
use Native\Laravel\Menu\Items\Label;
89
use Native\Laravel\Menu\Items\Link;
@@ -11,7 +12,7 @@
1112
use Native\Laravel\Menu\Items\Separator;
1213

1314
/**
14-
* @method static \Native\Laravel\Menu\Menu make(\Native\Laravel\Menu\Items\MenuItem ...$items)
15+
* @method static \Native\Laravel\Menu\Menu make(MenuItem ...$items)
1516
* @method static Checkbox checkbox(string $label, bool $checked = false, ?string $hotkey = null)
1617
* @method static Label label(string $label)
1718
* @method static Link link(string $url, string $label = null, ?string $hotkey = null)
@@ -23,7 +24,6 @@
2324
* @method static Role view()
2425
* @method static Role window()
2526
* @method static Role help()
26-
* @method static Role window()
2727
* @method static Role fullscreen()
2828
* @method static Role separator()
2929
* @method static Role devTools()
@@ -37,7 +37,6 @@
3737
* @method static Role minimize()
3838
* @method static Role close()
3939
* @method static Role quit()
40-
* @method static Role help()
4140
* @method static Role hide()
4241
* @method static void create(MenuItem ...$items)
4342
* @method static void default()

0 commit comments

Comments
 (0)