Fix type hints to match latest symfony, fixes #7199
parent
c9aa9c0d2f
commit
1336029b72
|
@ -103,7 +103,7 @@ interface IOInterface
|
|||
/**
|
||||
* Asks a question to the user.
|
||||
*
|
||||
* @param string|array $question The question to ask
|
||||
* @param string $question The question to ask
|
||||
* @param string $default The default answer if none is given by the user
|
||||
*
|
||||
* @throws \RuntimeException If there is no data to read in the input stream
|
||||
|
@ -116,7 +116,7 @@ interface IOInterface
|
|||
*
|
||||
* The question will be asked until the user answers by nothing, yes, or no.
|
||||
*
|
||||
* @param string|array $question The question to ask
|
||||
* @param string $question The question to ask
|
||||
* @param bool $default The default answer if the user enters nothing
|
||||
*
|
||||
* @return bool true if the user has confirmed, false otherwise
|
||||
|
@ -130,7 +130,7 @@ interface IOInterface
|
|||
* validated data when the data is valid and throw an exception
|
||||
* otherwise.
|
||||
*
|
||||
* @param string|array $question The question to ask
|
||||
* @param string $question The question to ask
|
||||
* @param callable $validator A PHP callback
|
||||
* @param null|int $attempts Max number of times to ask before giving up (default of null means infinite)
|
||||
* @param mixed $default The default answer if none is given by the user
|
||||
|
@ -152,7 +152,7 @@ interface IOInterface
|
|||
/**
|
||||
* Asks the user to select a value.
|
||||
*
|
||||
* @param string|array $question The question to ask
|
||||
* @param string $question The question to ask
|
||||
* @param array $choices List of choices to pick from
|
||||
* @param bool|string $default The default answer if the user enters nothing
|
||||
* @param bool|int $attempts Max number of times to ask before giving up (false by default, which means infinite)
|
||||
|
|
Loading…
Reference in New Issue