File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,9 +25,9 @@ class ChoiceQuestion extends Question
2525 private string $ errorMessage = 'Value "%s" is invalid ' ;
2626
2727 /**
28- * @param string $question The question to ask to the user
29- * @param array<string|bool|int|float> $choices The list of available choices
30- * @param string|bool|int|float|null $default The default answer to return
28+ * @param string $question The question to ask to the user
29+ * @param array<string|bool|int|float|\Stringable > $choices The list of available choices
30+ * @param string|bool|int|float|null $default The default answer to return
3131 */
3232 public function __construct (
3333 string $ question ,
@@ -45,7 +45,7 @@ public function __construct(
4545 }
4646
4747 /**
48- * @return array<string|bool|int|float>
48+ * @return array<string|bool|int|float|\Stringable >
4949 */
5050 public function getChoices (): array
5151 {
You can’t perform that action at this time.
0 commit comments