remove unnecessary references

This commit is contained in:
Robin Krahnen 2020-05-04 22:04:15 +02:00
parent 743ec61c44
commit 8cc705bd48

View file

@ -136,7 +136,7 @@ class SettingsValidator extends AbstractValidator
}
if (isset($this->validations[$name]['properties'])) {
foreach ($this->validations[$name]['properties'] as $propertyName => &$validation) {
foreach ($validation as $validator => &$options) {
foreach ($validation as $validator => $options) {
if (is_null($options)) {
continue;
}
@ -156,7 +156,7 @@ class SettingsValidator extends AbstractValidator
* @param array $validatorConfig
* @return bool
*/
protected function doesValidationGroupsMatch(array &$validatorConfig)
protected function doesValidationGroupsMatch(array $validatorConfig)
{
if (isset($validatorConfig['options']['validationGroups']) && empty(array_intersect($validatorConfig['options']['validationGroups'], $this->options['validationGroups']))) {
return false;