Skip to content

Commit a112e15

Browse files
committed
Merge branch '6.4' into 7.3
* 6.4: Issue #51941 galician translation RedisTagAwareAdapter Add Predis2 Interface checks (fix #60050) fixup! [Console] Specify types of interactive question choices
2 parents b10e52d + 13d3176 commit a112e15

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Question/ChoiceQuestion.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ class ChoiceQuestion extends Question
2525
private string $errorMessage = 'Value "%s" is invalid';
2626

2727
/**
28-
* @param string $question The question to ask to the user
29-
* @param array<string|bool|int|float> $choices The list of available choices
30-
* @param string|bool|int|float|null $default The default answer to return
28+
* @param string $question The question to ask to the user
29+
* @param array<string|bool|int|float|\Stringable> $choices The list of available choices
30+
* @param string|bool|int|float|null $default The default answer to return
3131
*/
3232
public function __construct(
3333
string $question,
@@ -45,7 +45,7 @@ public function __construct(
4545
}
4646

4747
/**
48-
* @return array<string|bool|int|float>
48+
* @return array<string|bool|int|float|\Stringable>
4949
*/
5050
public function getChoices(): array
5151
{

0 commit comments

Comments
 (0)