From 1c8931e80f8c81c59931cf8db7e5dc1d66590097 Mon Sep 17 00:00:00 2001 From: Simon Hamp Date: Wed, 20 Nov 2024 02:56:01 +0000 Subject: [PATCH] Fix label --- src/Menu/MenuBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Menu/MenuBuilder.php b/src/Menu/MenuBuilder.php index 871c0a7..ddac245 100644 --- a/src/Menu/MenuBuilder.php +++ b/src/Menu/MenuBuilder.php @@ -39,7 +39,7 @@ public function default(): void ); } - public function label(): Items\Label + public function label(string $label): Items\Label { return new Items\Label($label); }