eee
This commit is contained in:
@@ -16,8 +16,7 @@ class ArrayProxy extends TypesProxy
|
|||||||
public function dispatch(object $form, string $field, mixed $value): bool
|
public function dispatch(object $form, string $field, mixed $value): bool
|
||||||
{
|
{
|
||||||
if (empty($value)) {
|
if (empty($value)) {
|
||||||
$form->{$field} = !$this->allowsNull ? [] : null;
|
return ($form->{$field} = []) === [];
|
||||||
return true;
|
|
||||||
} else {
|
} else {
|
||||||
return $value == ($form->{$field} = $value);
|
return $value == ($form->{$field} = $value);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user