[Console] fix type annotations on InputInterface

This commit is contained in:
Nicolas Grekas 2021-07-02 18:25:02 +02:00
parent 0e5db3dcfa
commit ab76477012
1 changed files with 3 additions and 3 deletions

View File

@ -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
*/