diff --git a/console.rst b/console.rst index f0769009bea..c0aafddec2b 100644 --- a/console.rst +++ b/console.rst @@ -92,7 +92,7 @@ available in the ``configure()`` method:: { $this // ... - ->addArgument('password', $this->requirePassword ? InputArgument::OPTIONAL : InputArgument::REQUIRED, 'User password') + ->addArgument('password', $this->requirePassword ? InputArgument::REQUIRED : InputArgument::OPTIONAL, 'User password') ; } }