Skip to content

Commit 0208729

Browse files
tomegantcswouterj
authored andcommitted
Apply suggestions from code review
Co-authored-by: Wouter de Jong <wouterj@users.noreply.github.com>
1 parent 2b0db91 commit 0208729

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

console.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -565,11 +565,11 @@ call ``setAutoExit(false)`` on it to get the command result in ``CommandTester``
565565

566566
.. caution::
567567

568-
When testing ``InputOption::VALUE_NONE`` command options, you must pass a non
569-
empty value to them::
568+
When testing ``InputOption::VALUE_NONE`` command options, you must pass ``true``
569+
to them::
570570

571571
$commandTester = new CommandTester($command);
572-
$commandTester->execute(['--some-option' => 'true']);
572+
$commandTester->execute(['--some-option' => true]);
573573

574574
.. note::
575575

0 commit comments

Comments
 (0)