8000 Update components/console/helpers/questionhelper.rst · symfony/symfony-docs@7c2e9cf · GitHub
[go: up one dir, main page]

Skip to content

Commit 7c2e9cf

Browse files
Update components/console/helpers/questionhelper.rst
Co-Authored-By: Oskar Stark <oskarstark@googlemail.com>
1 parent 9a892fc commit 7c2e9cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/console/helpers/questionhelper.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ You can also specify if you want to not trim the answer by setting it directly w
233233
$question = new Question('What is the name of the child?');
234234
$question->setTrimmable(true);
235235
// if the users inputs 'elsa ' it will not be trimmed and you will get 'elsa ' as value
236-
$childName = $helper->ask($input, $output, $question);
236+
$name = $helper->ask($input, $output, $question);
237237
}
238238

239239
.. versionadded:: 4.4

0 commit comments

Comments
 (0)
0