remove unnecessary reference

This commit is contained in:
Robin Krahnen 2020-05-04 22:10:46 +02:00
parent e141dbddee
commit 8d76072227

View file

@ -135,7 +135,7 @@ class SettingsValidator extends AbstractValidator
} }
} }
if (isset($this->validations[$name]['properties'])) { if (isset($this->validations[$name]['properties'])) {
foreach ($this->validations[$name]['properties'] as $propertyName => &$validation) { foreach ($this->validations[$name]['properties'] as $propertyName => $validation) {
foreach ($validation as $validator => $options) { foreach ($validation as $validator => $options) {
if (is_null($options)) { if (is_null($options)) {
continue; continue;