Skip to content

Commit

Permalink
Merge branch '5.4' into 6.2
Browse files Browse the repository at this point in the history
* 5.4:
  CS fix
  Fix test provider
  • Loading branch information
nicolas-grekas committed Feb 16, 2023
2 parents 005c745 + a39ab00 commit 12b1042
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
2 changes: 0 additions & 2 deletions Helper/ProgressIndicator.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,6 @@ public function advance()

/**
* Finish the indicator with message.
*
* @param $message
*/
public function finish(string $message)
{
Expand Down
8 changes: 4 additions & 4 deletions Input/InputArgument.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ class InputArgument
private string $description;

/**
* @param string $name The argument name
* @param int|null $mode The argument mode: self::REQUIRED or self::OPTIONAL
* @param string $description A description text
* @param string|bool|int|float|array|null $default The default value (for self::OPTIONAL mode only)
* @param string $name The argument name
* @param int|null $mode The argument mode: self::REQUIRED or self::OPTIONAL
* @param string $description A description text
* @param string|bool|int|float|array|null $default The default value (for self::OPTIONAL mode only)
* @param array|\Closure(CompletionInput,CompletionSuggestions):list<string|Suggestion> $suggestedValues The values used for input completion
*
* @throws InvalidArgumentException When argument mode is not valid
Expand Down
6 changes: 3 additions & 3 deletions Input/InputOption.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ class InputOption
private string $description;

/**
* @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|bool|int|float|array|null $default The default value (must be null for self::VALUE_NONE)
* @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|bool|int|float|array|null $default The default value (must be null for self::VALUE_NONE)
* @param array|\Closure(CompletionInput,CompletionSuggestions):list<string|Suggestion> $suggestedValues The values used for input completion
*
* @throws InvalidArgumentException If option mode is invalid or incompatible
Expand Down

0 comments on commit 12b1042

Please sign in to comment.