replace use getter instead of directly accessing no longer protected variable
This commit is contained in:
parent
d30ed3310a
commit
8b0e5640b9
1 changed files with 2 additions and 2 deletions
|
@ -107,11 +107,11 @@ class SettingsValidator extends AbstractValidator
|
|||
}
|
||||
|
||||
if (isset($validatorConfig['property'])) {
|
||||
$this->result->forProperty($validatorConfig['property'])->merge(
|
||||
$this->getResult()->forProperty($validatorConfig['property'])->merge(
|
||||
$validator->validate(ObjectAccess::getPropertyPath($value, $validatorConfig['property']))
|
||||
);
|
||||
} else {
|
||||
$this->result->merge($validator->validate($value));
|
||||
$this->getResult()->merge($validator->validate($value));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue