Skip to content

Commit 400f410

Browse files
Minor reword
1 parent fbf40a7 commit 400f410

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

components/console/helpers/dialoghelper.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,10 @@ Using ``false`` means the amount of attempts is infinite.
146146
The user will be asked as long as they provide an invalid answer and will only
147147
be able to proceed if their input is valid.
148148

149-
Each time the user is asked the question, if no answer is supplied, the default one is used
150-
and it's validated using the ``$validator`` callback.
151-
If the validator throws an exception on the last attempt, the exception is displayed to the user.
149+
Each time the user is asked the question, if no answer is supplied, the default
150+
one is used (and validated with the ``$validator`` callback) and the remaining
151+
number of attempts is displayed. If the last attempt is reached, the application
152+
throws an exception and ends its execution.
152153

153154
Validating a Hidden Response
154155
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)