Skip to content

Commit

Permalink
Updates question helper
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Jul 11, 2022
1 parent e2cb163 commit 4130333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Console/QuestionHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ protected function writePrompt(OutputInterface $output, Question $question)

if ($question instanceof ChoiceQuestion) {
foreach ($question->getChoices() as $key => $value) {
with(new TwoColumnDetail($output))->render($key, $value);
with(new TwoColumnDetail($output))->render($value, $key);
}
}

Expand Down

0 comments on commit 4130333

Please sign in to comment.