Skip to content

Commit d20b978

Browse files
Jmoatifabpot
authored andcommitted
$default can be string
1 parent b0ccce4 commit d20b978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Helper/DialogHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class DialogHelper extends Helper
3131
* @param OutputInterface $output An Output instance
3232
* @param string|array $question The question to ask
3333
* @param array $choices List of choices to pick from
34-
* @param Boolean $default The default answer if the user enters nothing
34+
* @param Boolean|string $default The default answer if the user enters nothing
3535
* @param Boolean|integer $attempts Max number of times to ask before giving up (false by default, which means infinite)
3636
* @param string $errorMessage Message which will be shown if invalid value from choice list would be picked
3737
* @param Boolean $multiselect Select more than one value separated by comma

0 commit comments

Comments
 (0)