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
|
protected function doesValidationGroupsMatch(array $validatorConfig): bool
|
||||||
{
|
{
|
||||||
return
|
return !isset($validatorConfig['options']['validationGroups'])
|
||||||
!isset($validatorConfig['options']['validationGroups'])
|
|
||||||
|| \array_intersect(
|
|| \array_intersect(
|
||||||
$validatorConfig['options']['validationGroups'],
|
$validatorConfig['options']['validationGroups'],
|
||||||
$this->options['validationGroups']
|
$this->options['validationGroups']
|
||||||
) !== []
|
) !== [];
|
||||||
;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue