@@ -130,7 +130,8 @@ This methods has 2 new arguments, the full signature is::
130
130
string|array $question,
131
131
callback $validator,
132
132
integer $attempts = false,
133
- string $default = null
133
+ string $default = null,
134
+ array $autocomplete = null
134
135
)
135
136
136
137
The ``$validator `` is a callback which handles the validation. It should
@@ -139,8 +140,8 @@ in the console, so it is a good practice to put some useful information in it. T
139
140
function should also return the value of the user's input if the validation was successful.
140
141
141
142
You can set the max number of times to ask in the ``$attempts `` argument.
142
- If you reach this max number it will use the default value, which is given
143
- in the last argument. Using ``false `` means the amount of attempts is infinite.
143
+ If you reach this max number it will use the default value.
144
+ Using ``false `` means the amount of attempts is infinite.
144
145
The user will be asked as long as they provide an invalid answer and will only
145
146
be able to proceed if their input is valid.
146
147