diff --git a/src/Symfony/Component/Console/Input/Input.php b/src/Symfony/Component/Console/Input/Input.php index fb84cf829e..275a2cc759 100644 --- a/src/Symfony/Component/Console/Input/Input.php +++ b/src/Symfony/Component/Console/Input/Input.php @@ -185,8 +185,8 @@ abstract class Input implements InputInterface /** * Sets an option value by name. * - * @param string $name The option name - * @param string $value The option value + * @param string $name The option name + * @param string|boolean $value The option value * * @throws \InvalidArgumentException When option given doesn't exist */ diff --git a/src/Symfony/Component/Console/Input/InputInterface.php b/src/Symfony/Component/Console/Input/InputInterface.php index c39429d235..cf0270caa2 100644 --- a/src/Symfony/Component/Console/Input/InputInterface.php +++ b/src/Symfony/Component/Console/Input/InputInterface.php @@ -120,8 +120,8 @@ interface InputInterface /** * Sets an option value by name. * - * @param string $name The option name - * @param string $value The option value + * @param string $name The option name + * @param string|boolean $value The option value * * @throws \InvalidArgumentException When option given doesn't exist */