[Console] Fix input values allowed types

This commit is contained in:
Robin Chalas 2018-09-11 18:38:47 +02:00
parent 86a5d92ce7
commit 0c16cd9fae
3 changed files with 6 additions and 6 deletions

View File

@ -86,7 +86,7 @@ class InputArgument
/**
* Sets the default value.
*
* @param mixed $default The default value
* @param string|string[] $default The default value
*
* @throws LogicException When incorrect default value is given
*/
@ -110,7 +110,7 @@ class InputArgument
/**
* Returns the default value.
*
* @return mixed The default value
* @return string|string[] The default value
*/
public function getDefault()
{

View File

@ -83,7 +83,7 @@ interface InputInterface
*
* @param string $name The argument name
*
* @return mixed The argument value
* @return string|string[] The argument value
*
* @throws InvalidArgumentException When argument given doesn't exist
*/
@ -120,7 +120,7 @@ interface InputInterface
*
* @param string $name The option name
*
* @return mixed The option value
* @return string|string[]|bool The option value
*
* @throws InvalidArgumentException When option given doesn't exist
*/

View File

@ -149,7 +149,7 @@ class InputOption
/**
* Sets the default value.
*
* @param mixed $default The default value
* @param string|string[]|bool $default The default value
*
* @throws LogicException When incorrect default value is given
*/
@ -173,7 +173,7 @@ class InputOption
/**
* Returns the default value.
*
* @return mixed The default value
* @return string|string[]|bool The default value
*/
public function getDefault()
{