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.
2 parents 155bccb + d4e81be commit ab064c7Copy full SHA for ab064c7
console.rst
@@ -540,11 +540,11 @@ call ``setAutoExit(false)`` on it to get the command result in ``CommandTester``
540
541
.. caution::
542
543
- When testing ``InputOption::VALUE_NONE`` command options, you must pass an
544
- empty value to them::
+ When testing ``InputOption::VALUE_NONE`` command options, you must pass ``true``
+ to them::
545
546
$commandTester = new CommandTester($command);
547
- $commandTester->execute(['--some-option' => '']);
+ $commandTester->execute(['--some-option' => true]);
548
549
.. note::
550
0 commit comments