php-cli-tools
php-cli-tools copied to clipboard
Fix type hinting for prompt function
I was confused by phpstan analyse output: "Parameter #2 $default of function cli\prompt expects string, false given." Soon I found out that problem is in type hinting for this function in lib/cli/cli.php. Hope my fix is helpful.