Skip to content

Commit ab064c7

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: [Console][Testing] Correct what appears to be intended behavior vs actual behavior in documentation
2 parents 155bccb + d4e81be commit ab064c7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

console.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -540,11 +540,11 @@ call ``setAutoExit(false)`` on it to get the command result in ``CommandTester``
540540

541541
.. caution::
542542

543-
When testing ``InputOption::VALUE_NONE`` command options, you must pass an
544-
empty value to them::
543+
When testing ``InputOption::VALUE_NONE`` command options, you must pass ``true``
544+
to them::
545545

546546
$commandTester = new CommandTester($command);
547-
$commandTester->execute(['--some-option' => '']);
547+
$commandTester->execute(['--some-option' => true]);
548548

549549
.. note::
550550

0 commit comments

Comments
 (0)