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 d5c1195 commit fa99fb4Copy full SHA for fa99fb4
src/Symfony/Component/Console/Question/ChoiceQuestion.php
@@ -26,9 +26,9 @@ class ChoiceQuestion extends Question
26
private string $errorMessage = 'Value "%s" is invalid';
27
28
/**
29
- * @param string $question The question to ask to the user
30
- * @param array $choices The list of available choices
31
- * @param string|bool|int|float|null $default The default answer to return
+ * @param string $question The question to ask to the user
+ * @param list<string|bool|int|float> $choices The list of available choices
+ * @param string|bool|int|float|null $default The default answer to return
32
*/
33
public function __construct(string $question, array $choices, string|bool|int|float|null $default = null)
34
{
0 commit comments