Skip to content

Commit

Permalink
Fix label
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhamp committed Nov 20, 2024
1 parent f857938 commit 1c8931e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Menu/MenuBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 1c8931e

Please sign in to comment.