We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5eaca60 commit 6515744Copy full SHA for 6515744
src/mako/reactor/traits/CommandHelperTrait.php
@@ -213,7 +213,7 @@ protected function select(
213
bool $returnKey = true,
214
bool $allowMultiple = false,
215
bool $allowEmptySelection = false,
216
- ?callable $optionFormatter = null
+ callable $optionFormatter = static function (mixed $option): string { return (string) $option; }
217
): mixed {
218
return (new Select(
219
$this->input,
0 commit comments