From ebc39a69385d954dfbea7347acf1fe224f3a513a Mon Sep 17 00:00:00 2001 From: whwyy Date: Thu, 18 Apr 2024 00:38:09 +0800 Subject: [PATCH] eee --- src/Validator/Types/ArrayProxy.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Validator/Types/ArrayProxy.php b/src/Validator/Types/ArrayProxy.php index 778defd..7955706 100644 --- a/src/Validator/Types/ArrayProxy.php +++ b/src/Validator/Types/ArrayProxy.php @@ -18,8 +18,9 @@ class ArrayProxy extends TypesProxy if (empty($value)) { $form->{$field} = !$this->allowsNull ? [] : null; return true; + } else { + return $value == ($form->{$field} = $value); } - return $value == ($form->{$field} = $value); } } \ No newline at end of file