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