code style
This commit is contained in:
parent
651f5815a4
commit
937e74671c
1 changed files with 2 additions and 4 deletions
|
@ -142,13 +142,11 @@ class SettingsValidator extends AbstractValidator
|
|||
*/
|
||||
protected function doesValidationGroupsMatch(array $validatorConfig): bool
|
||||
{
|
||||
return
|
||||
!isset($validatorConfig['options']['validationGroups'])
|
||||
return !isset($validatorConfig['options']['validationGroups'])
|
||||
|| \array_intersect(
|
||||
$validatorConfig['options']['validationGroups'],
|
||||
$this->options['validationGroups']
|
||||
) !== []
|
||||
;
|
||||
) !== [];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue