Skip to content

Commit 6bf8db3

Browse files
authored
Fixed type hint error when using command::choice(). (#4582)
1 parent 4953e25 commit 6bf8db3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ public function choice(
188188
array $choices,
189189
$default = null,
190190
?int $attempts = null
191-
): string {
191+
): mixed {
192192
return $this->choiceMultiple($question, $choices, $default, $attempts)[0];
193193
}
194194

0 commit comments

Comments
 (0)