mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
N°8910 - Upgrade Symfony packages (#811)
This commit is contained in:
@@ -26,9 +26,9 @@ class ChoiceQuestion extends Question
|
||||
private string $errorMessage = 'Value "%s" is invalid';
|
||||
|
||||
/**
|
||||
* @param string $question The question to ask to the user
|
||||
* @param array $choices The list of available choices
|
||||
* @param string|bool|int|float|null $default The default answer to return
|
||||
* @param string $question The question to ask to the user
|
||||
* @param array<string|bool|int|float|\Stringable> $choices The list of available choices
|
||||
* @param string|bool|int|float|null $default The default answer to return
|
||||
*/
|
||||
public function __construct(string $question, array $choices, string|bool|int|float|null $default = null)
|
||||
{
|
||||
@@ -44,7 +44,7 @@ class ChoiceQuestion extends Question
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns available choices.
|
||||
* @return array<string|bool|int|float|\Stringable>
|
||||
*/
|
||||
public function getChoices(): array
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user