We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 511fb50 commit 22b5111Copy full SHA for 22b5111
src/jblond/cli/Cli.php
@@ -29,7 +29,7 @@ public function input(string $prompt, $validInputs, string $default = ''): strin
29
!is_file($input)
30
) ||
31
(
32
- !empty($validInputs) && $input !== $validInputs
+ !empty($validInputs) && is_string($validInputs) && $input !== $validInputs
33
)
34
){
35
echo $prompt;
0 commit comments