@@ -321,7 +321,7 @@ public function askHiddenResponse(OutputInterface $output, $question, $fallback
321
321
* @param OutputInterface $output An Output instance
322
322
* @param string|array $question The question to ask
323
323
* @param callable $validator A PHP callback
324
- * @param int $attempts Max number of times to ask before giving up (false by default, which means infinite)
324
+ * @param int|false $attempts Max number of times to ask before giving up (false by default, which means infinite)
325
325
* @param string $default The default answer if none is given by the user
326
326
* @param array $autocomplete List of values to autocomplete
327
327
*
@@ -350,7 +350,7 @@ public function askAndValidate(OutputInterface $output, $question, $validator, $
350
350
* @param OutputInterface $output An Output instance
351
351
* @param string|array $question The question to ask
352
352
* @param callable $validator A PHP callback
353
- * @param int $attempts Max number of times to ask before giving up (false by default, which means infinite)
353
+ * @param int|false $attempts Max number of times to ask before giving up (false by default, which means infinite)
354
354
* @param bool $fallback In case the response can not be hidden, whether to fallback on non-hidden question or not
355
355
*
356
356
* @return string The response
@@ -444,7 +444,7 @@ private function hasSttyAvailable()
444
444
* @param callable $interviewer A callable that will ask for a question and return the result
445
445
* @param OutputInterface $output An Output instance
446
446
* @param callable $validator A PHP callback
447
- * @param int $attempts Max number of times to ask before giving up ; false will ask infinitely
447
+ * @param int|false $attempts Max number of times to ask before giving up ; false will ask infinitely
448
448
*
449
449
* @return string The validated response
450
450
*
0 commit comments