From 61529f3cd77864d8d8294f130c54caeefd3fca63 Mon Sep 17 00:00:00 2001 From: Marco Lipparini Date: Wed, 5 Sep 2018 16:49:52 +0200 Subject: [PATCH] [Console] fixed PHPDoc for setArgument/setOption in InputInterface --- src/Symfony/Component/Console/Input/InputInterface.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Symfony/Component/Console/Input/InputInterface.php b/src/Symfony/Component/Console/Input/InputInterface.php index 805ee51736..c8a357b746 100644 --- a/src/Symfony/Component/Console/Input/InputInterface.php +++ b/src/Symfony/Component/Console/Input/InputInterface.php @@ -90,8 +90,8 @@ interface InputInterface /** * Sets an argument value by name. * - * @param string $name The argument name - * @param string $value The argument value + * @param string $name The argument name + * @param string|string[] $value The argument value * * @throws InvalidArgumentException When argument given doesn't exist */ @@ -127,8 +127,8 @@ interface InputInterface /** * Sets an option value by name. * - * @param string $name The option name - * @param string|bool $value The option value + * @param string $name The option name + * @param string|string[]|bool $value The option value * * @throws InvalidArgumentException When option given doesn't exist */