From ab76477012309731d4de2f4a0f4cc3dfe30f6efc Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Fri, 2 Jul 2021 18:25:02 +0200 Subject: [PATCH] [Console] fix type annotations on InputInterface --- src/Symfony/Component/Console/Input/InputInterface.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Symfony/Component/Console/Input/InputInterface.php b/src/Symfony/Component/Console/Input/InputInterface.php index 4ecab0f4fb..b96a0c6278 100644 --- a/src/Symfony/Component/Console/Input/InputInterface.php +++ b/src/Symfony/Component/Console/Input/InputInterface.php @@ -83,7 +83,7 @@ interface InputInterface /** * Returns the argument value for a given argument name. * - * @param string $name The argument name + * @param string|int $name The InputArgument name or position * * @return mixed * @@ -94,8 +94,8 @@ interface InputInterface /** * Sets an argument value by name. * - * @param string $name The argument name - * @param mixed $value The argument value + * @param string|int $name The InputArgument name or position + * @param mixed $value The argument value * * @throws InvalidArgumentException When argument given doesn't exist */