Skip to content

Commit 22b5111

Browse files
committed
Fix PHP 8.3 validation
1 parent 511fb50 commit 22b5111

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jblond/cli/Cli.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function input(string $prompt, $validInputs, string $default = ''): strin
2929
!is_file($input)
3030
) ||
3131
(
32-
!empty($validInputs) && $input !== $validInputs
32+
!empty($validInputs) && is_string($validInputs) && $input !== $validInputs
3333
)
3434
){
3535
echo $prompt;

0 commit comments

Comments
 (0)