[Console] fixed PHPDoc for setArgument/setOption in InputInterface

This commit is contained in:
Marco Lipparini 2018-09-05 16:49:52 +02:00 committed by Fabien Potencier
parent 992a174470
commit 61529f3cd7

View File

@ -90,8 +90,8 @@ interface InputInterface
/** /**
* Sets an argument value by name. * Sets an argument value by name.
* *
* @param string $name The argument name * @param string $name The argument name
* @param string $value The argument value * @param string|string[] $value The argument value
* *
* @throws InvalidArgumentException When argument given doesn't exist * @throws InvalidArgumentException When argument given doesn't exist
*/ */
@ -127,8 +127,8 @@ interface InputInterface
/** /**
* Sets an option value by name. * Sets an option value by name.
* *
* @param string $name The option name * @param string $name The option name
* @param string|bool $value The option value * @param string|string[]|bool $value The option value
* *
* @throws InvalidArgumentException When option given doesn't exist * @throws InvalidArgumentException When option given doesn't exist
*/ */