8000 Fix wrong quotes in QuestionHelper::setInputStream() · symfony/symfony-docs@5679e2d · GitHub
[go: up one dir, main page]

Skip to content

Commit 5679e2d

Browse files
committed
Fix wrong quotes in QuestionHelper::setInputStream()
1 parent f77546e commit 5679e2d

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
@@ -294,7 +294,7 @@ from the command line, you need to set the helper input stream::
294294
$commandTester = new CommandTester($command);
295295

296296
$helper = $command->getHelper('question');
297-
$helper->setInputStream($this->getInputStream('Test\\n'));
297+
$helper->setInputStream($this->getInputStream("Test\n"));
298298
// Equals to a user inputting "Test" and hitting ENTER
299299
// If you need to enter a confirmation, "yes\n" will work
300300

0 commit comments

Comments
 (0)
0