Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5679e2d

Browse files
committed
Fix wrong quotes in QuestionHelper::setInputStream()
1 parentf77546e commit5679e2d

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)

[8]ページ先頭

©2009-2025 Movatter.jp