diff --git a/components/console/introduction.rst b/components/console/introduction.rst index eda67260924..02ad6d1bc58 100644 --- a/components/console/introduction.rst +++ b/components/console/introduction.rst @@ -196,7 +196,7 @@ level of verbosity. It is possible to print a message in a command for only a specific verbosity level. For example:: - if (OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) { + if ($output->getVerbosity() >= OutputInterface::VERBOSITY_VERBOSE) { $output->writeln(...); }