From 40aa5965428495d7f700ef032f2bb5062d4ad92f Mon Sep 17 00:00:00 2001 From: Chris Johnson Date: Tue, 4 Nov 2014 22:12:55 -0600 Subject: [PATCH] Fix description of ConfirmationQuestion In my testing and in my brief reading of the Symfony\Component\Console\Question code, the old description of re-asking the question does not occur and I see no way for that to happen. That would be nice, desirable behavior. However, the truth is the ask() method always returns ``true`` or ``false`` upon any input. --- components/console/helpers/questionhelper.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/console/helpers/questionhelper.rst b/components/console/helpers/questionhelper.rst index 6a745c09609..74489b22c89 100644 --- a/components/console/helpers/questionhelper.rst +++ b/components/console/helpers/questionhelper.rst @@ -41,8 +41,8 @@ In this case, the user will be asked "Continue with this action?". If the user answers with ``y`` it returns ``true`` or ``false`` if they answer with ``n``. The second argument to :method:`Symfony\\Component\\Console\\Question\\ConfirmationQuestion::__construct` -is the default value to return if the user doesn't enter any input. Any other -input will ask the same question again. +is the default value to return if the user doesn't enter any valid input. If +second argument is not provided, ``true`` is assumed. Asking the User for Information -------------------------------