1
0
Fork 0

Fix callable typehint

Change `callback` typehint to `callable` in order to satisfy phpstan.
pull/6379/head
Robert Pustułka 2017-04-26 12:53:19 +02:00 committed by GitHub
parent e3a23c0047
commit 688c1b057b
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ interface IOInterface
* otherwise.
*
* @param string|array $question The question to ask
* @param callback $validator A PHP callback
* @param callable $validator A PHP callback
* @param null|int $attempts Max number of times to ask before giving up (default of null means infinite)
* @param mixed $default The default answer if none is given by the user
*