code style

This commit is contained in:
Robin Krahnen 2020-08-19 13:56:55 +02:00
parent 651f5815a4
commit 937e74671c

View file

@ -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']
) !== []
;
) !== [];
}
/**