Closed valeriySeregin closed 10 months ago
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.
phpstan analyse
lib/cli/cli.php
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 inlib/cli/cli.php
. Hope my fix is helpful.