Skip to content

Commit 093db52

Browse files
committed
fix: update method signatures in Menu class to allow nullable labels
1 parent ed88a8c commit 093db52

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

Diff for: src/Facades/Menu.php

+19-19
Original file line numberDiff line numberDiff line change
@@ -19,26 +19,26 @@
1919
* @method static Link route(string $url, string $label = null, ?string $hotkey = null)
2020
* @method static Radio radio(string $label, bool $checked = false, ?string $hotkey = null)
2121
* @method static Role app()
22-
* @method static Role about(string $label = null)
23-
* @method static Role file(string $label = null)
24-
* @method static Role edit(string $label = null)
25-
* @method static Role view(string $label = null)
26-
* @method static Role window(string $label = null)
27-
* @method static Role help(string $label = null)
28-
* @method static Role fullscreen(string $label = null)
22+
* @method static Role about(?string $label = null)
23+
* @method static Role file(?string $label = null)
24+
* @method static Role edit(?string $label = null)
25+
* @method static Role view(?string $label = null)
26+
* @method static Role window(?string $label = null)
27+
* @method static Role help(?string $label = null)
28+
* @method static Role fullscreen(?string $label = null)
2929
* @method static Role separator()
30-
* @method static Role devTools(string $label = null)
31-
* @method static Role undo(string $label = null)
32-
* @method static Role redo(string $label = null)
33-
* @method static Role cut(string $label = null)
34-
* @method static Role copy(string $label = null)
35-
* @method static Role paste(string $label = null)
36-
* @method static Role pasteAndMatchStyle(string $label = null)
37-
* @method static Role reload(string $label = null)
38-
* @method static Role minimize(string $label = null)
39-
* @method static Role close(string $label = null)
40-
* @method static Role quit(string $label = null)
41-
* @method static Role hide(string $label = null)
30+
* @method static Role devTools(?string $label = null)
31+
* @method static Role undo(?string $label = null)
32+
* @method static Role redo(?string $label = null)
33+
* @method static Role cut(?string $label = null)
34+
* @method static Role copy(?string $label = null)
35+
* @method static Role paste(?string $label = null)
36+
* @method static Role pasteAndMatchStyle(?string $label = null)
37+
* @method static Role reload(?string $label = null)
38+
* @method static Role minimize(?string $label = null)
39+
* @method static Role close(?string $label = null)
40+
* @method static Role quit(?string $label = null)
41+
* @method static Role hide(?string $label = null)
4242
* @method static void create(MenuItem ...$items)
4343
* @method static void default()
4444
*/

0 commit comments

Comments
 (0)