remove unnecessary references
This commit is contained in:
parent
743ec61c44
commit
8cc705bd48
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue