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