diff --git a/src-symfony-compatibility/v6/Style/DrushStyle.php b/src-symfony-compatibility/v6/Style/DrushStyle.php index aade71c683..d7134ebe41 100644 --- a/src-symfony-compatibility/v6/Style/DrushStyle.php +++ b/src-symfony-compatibility/v6/Style/DrushStyle.php @@ -23,11 +23,11 @@ public function confirm(string $question, bool $default = true): bool return parent::confirm($question, $default); } - public function choice(string $question, array $choices, mixed $default = null): mixed + public function choice(string $question, array $choices, mixed $default = null, bool $multiSelect = false): mixed { // Display the choices without their keys. $choices_values = array_values($choices); - $return = parent::choice($question, $choices_values, $default); + $return = parent::choice($question, $choices_values, $default, $multiSelect); return array_search($return, $choices); }