Skip to content

Commit

Permalink
update playground
Browse files Browse the repository at this point in the history
  • Loading branch information
macocci7 committed May 28, 2024
1 parent 5e7a58a commit 14e61f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playground/fileselector.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
label: 'Select a file to import.',
placeholder: 'E.g. ./vendor/autoload.php',
validate: fn (string $value) => match (true) {
!is_readable($value) === 0 => 'Cannot read the file.',
!is_readable($value) => 'Cannot read the file.',
default => null,
},
hint: 'Input the file path.',
Expand Down

0 comments on commit 14e61f5

Please sign in to comment.