We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9db76e2 commit 2d2a1ceCopy full SHA for 2d2a1ce
console.rst
@@ -565,11 +565,11 @@ call ``setAutoExit(false)`` on it to get the command result in ``CommandTester``
565
566
.. caution::
567
568
- When testing ``InputOption::VALUE_NONE`` command options, you must pass an
569
- empty value to them::
+ When testing ``InputOption::VALUE_NONE`` command options, you must pass ``true``
+ to them::
570
571
$commandTester = new CommandTester($command);
572
- $commandTester->execute(['--some-option' => '']);
+ $commandTester->execute(['--some-option' => true]);
573
574
.. note::
575
0 commit comments