8000 minor #35008 [Console][QuestionHelper] Use string type declaration (f… · symfony/symfony@c253ffd · GitHub
[go: up one dir, main page]

Skip to content

Commit c253ffd

Browse files
minor #35008 [Console][QuestionHelper] Use string type declaration (fancyweb)
This PR was merged into the 5.0 branch. Discussion ---------- [Console][QuestionHelper] Use string type declaration | Q | A | ------------- | --- | Branch? | 4.3 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Minor improvement. Commits ------- a594fe4 [Console][QuestionHelper] Use string type declaration
2 parents 3c672bc + a594fe4 commit c253ffd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Symfony/Component/Console/Helper/QuestionHelper.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,9 @@ protected function writePrompt(OutputInterface $output, Question $question)
177177
}
178178

179179
/**
180-
* @param string $tag
181-
*
182180
* @return string[]
183181
*/
184-
protected function formatChoiceQuestionChoices(ChoiceQuestion $question, $tag)
182+
protected function formatChoiceQuestionChoices(ChoiceQuestion $question, string $tag)
185183
{
186184
$messages = [];
187185

0 commit comments

Comments
 (0)
0