Skip to content

Commit 4140e14

Browse files
Merge branch '6.2' into 6.3
* 6.2: CS fix Fix test provider
2 parents 7d6e719 + 12b1042 commit 4140e14

File tree

5 files changed

+15
-17
lines changed

5 files changed

+15
-17
lines changed

Helper/DescriptorHelper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ public function __construct()
5050
* * format: string, the output format name
5151
* * raw_text: boolean, sets output type as raw
5252
*
53-
* @throws InvalidArgumentException when the given format is not supported
54-
*
5553
* @return void
54+
*
55+
* @throws InvalidArgumentException when the given format is not supported
5656
*/
5757
public function describe(OutputInterface $output, ?object $object, array $options = [])
5858
{

Helper/ProgressIndicator.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,6 @@ public function advance()
130130
/**
131131
* Finish the indicator with message.
132132
*
133-
* @param $message
134-
*
135133
* @return void
136134
*/
137135
public function finish(string $message)

Input/InputArgument.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ class InputArgument
3636
private string $description;
3737

3838
/**
39-
* @param string $name The argument name
40-
* @param int|null $mode The argument mode: self::REQUIRED or self::OPTIONAL
41-
* @param string $description A description text
42-
* @param string|bool|int|float|array|null $default The default value (for self::OPTIONAL mode only)
39+
* @param string $name The argument name
40+
* @param int|null $mode The argument mode: self::REQUIRED or self::OPTIONAL
41+
* @param string $description A description text
42+
* @param string|bool|int|float|array|null $default The default value (for self::OPTIONAL mode only)
4343
* @param array|\Closure(CompletionInput,CompletionSuggestions):list<string|Suggestion> $suggestedValues The values used for input completion
4444
*
4545
* @throws InvalidArgumentException When argument mode is not valid
@@ -91,9 +91,9 @@ public function isArray(): bool
9191
/**
9292
* Sets the default value.
9393
*
94-
* @throws LogicException When incorrect default value is given
95-
*
9694
* @return void
95+
*
96+
* @throws LogicException When incorrect default value is given
9797
*/
9898
public function setDefault(string|bool|int|float|array $default = null)
9999
{

Input/InputDefinition.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ public function addArguments(?array $arguments = [])
9898
}
9999

100100
/**
101-
* @throws LogicException When incorrect argument is given
102-
*
103101
* @return void
102+
*
103+
* @throws LogicException When incorrect argument is given
104104
*/
105105
public function addArgument(InputArgument $argument)
106106
{
@@ -224,9 +224,9 @@ public function addOptions(array $options = [])
224224
}
225225

226226
/**
227-
* @throws LogicException When option given already exist
228-
*
229227
* @return void
228+
*
229+
* @throws LogicException When option given already exist
230230
*/
231231
public function addOption(InputOption $option)
232232
{

Input/InputOption.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ class InputOption
5858
private string $description;
5959

6060
/**
61-
* @param string|array|null $shortcut The shortcuts, can be null, a string of shortcuts delimited by | or an array of shortcuts
62-
* @param int|null $mode The option mode: One of the VALUE_* constants
63-
* @param string|bool|int|float|array|null $default The default value (must be null for self::VALUE_NONE)
61+
* @param string|array|null $shortcut The shortcuts, can be null, a string of shortcuts delimited by | or an array of shortcuts
62+
* @param int|null $mode The option mode: One of the VALUE_* constants
63+
* @param string|bool|int|float|array|null $default The default value (must be null for self::VALUE_NONE)
6464
* @param array|\Closure(CompletionInput,CompletionSuggestions):list<string|Suggestion> $suggestedValues The values used for input completion
6565
*
6666
* @throws InvalidArgumentException If option mode is invalid or incompatible

0 commit comments

Comments
 (0)