From 14e61f5121287f13555952a9d85cae0afed6cd58 Mon Sep 17 00:00:00 2001 From: macocci7 Date: Wed, 29 May 2024 00:29:18 +0900 Subject: [PATCH] update playground --- playground/fileselector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playground/fileselector.php b/playground/fileselector.php index aa2606a..00d76b0 100644 --- a/playground/fileselector.php +++ b/playground/fileselector.php @@ -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.',