- if (count($excessGroups) > 0) {
- throw new ConstraintDefinitionException(sprintf(
- 'The group(s) "%s" passed to the constraint %s '.
- 'should also be passed to its containing constraint %s',
- implode('", "', $excessGroups),
- get_class($constraint),
- get_class($this)
- ));
+ if (\count($excessGroups) > 0) {
+ throw new ConstraintDefinitionException(sprintf('The group(s) "%s" passed to the constraint %s should also be passed to its containing constraint %s', implode('", "', $excessGroups), \get_class($constraint), \get_class($this)));