From 51d44155a08fca96f7d3cfd53e1fe81f8f1baf6c Mon Sep 17 00:00:00 2001 From: piterpascko <36945711+piterpascko@users.noreply.github.com> Date: Tue, 27 Jul 2021 14:14:24 +0300 Subject: [PATCH 1/2] Update InputOption.php --- src/Symfony/Component/Console/Input/InputOption.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Symfony/Component/Console/Input/InputOption.php b/src/Symfony/Component/Console/Input/InputOption.php index c40e0da3445fa..17cb6fc2c9818 100644 --- a/src/Symfony/Component/Console/Input/InputOption.php +++ b/src/Symfony/Component/Console/Input/InputOption.php @@ -48,8 +48,10 @@ class InputOption private $description; /** + * @param string $name The option name * @param string|array|null $shortcut The shortcuts, can be null, a string of shortcuts delimited by | or an array of shortcuts * @param int|null $mode The option mode: One of the VALUE_* constants + * @param string $description A description text * @param string|bool|int|float|array|null $default The default value (must be null for self::VALUE_NONE) * * @throws InvalidArgumentException If option mode is invalid or incompatible From 80657494e138a5b4429fc55555b8d1fcdc0e77a2 Mon Sep 17 00:00:00 2001 From: piterpascko <36945711+piterpascko@users.noreply.github.com> Date: Tue, 27 Jul 2021 14:19:47 +0300 Subject: [PATCH 2/2] Update InputOption.php --- src/Symfony/Component/Console/Input/InputOption.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Symfony/Component/Console/Input/InputOption.php b/src/Symfony/Component/Console/Input/InputOption.php index 17cb6fc2c9818..c7729db20b8f4 100644 --- a/src/Symfony/Component/Console/Input/InputOption.php +++ b/src/Symfony/Component/Console/Input/InputOption.php @@ -48,11 +48,11 @@ class InputOption private $description; /** - * @param string $name The option name - * @param string|array|null $shortcut The shortcuts, can be null, a string of shortcuts delimited by | or an array of shortcuts - * @param int|null $mode The option mode: One of the VALUE_* constants + * @param string $name The option name + * @param string|array|null $shortcut The shortcuts, can be null, a string of shortcuts delimited by | or an array of shortcuts + * @param int|null $mode The option mode: One of the VALUE_* constants * @param string $description A description text - * @param string|bool|int|float|array|null $default The default value (must be null for self::VALUE_NONE) + * @param string|bool|int|float|array|null $default The default value (must be null for self::VALUE_NONE) * * @throws InvalidArgumentException If option mode is invalid or incompatible */