diff --git a/src/Validator/Types/ArrayProxy.php b/src/Validator/Types/ArrayProxy.php index 5938ecb..778defd 100644 --- a/src/Validator/Types/ArrayProxy.php +++ b/src/Validator/Types/ArrayProxy.php @@ -15,7 +15,7 @@ class ArrayProxy extends TypesProxy */ public function dispatch(object $form, string $field, mixed $value): bool { - if (is_null($value)) { + if (empty($value)) { $form->{$field} = !$this->allowsNull ? [] : null; return true; }