diff --git a/src/Symfony/Component/Validator/Constraint.php b/src/Symfony/Component/Validator/Constraint.php index 17b93176d0f4..8669391bbc92 100644 --- a/src/Symfony/Component/Validator/Constraint.php +++ b/src/Symfony/Component/Validator/Constraint.php @@ -61,7 +61,7 @@ abstract class Constraint * * @var string[] */ - public $groups; + public $groups = [self::DEFAULT_GROUP]; /** * Returns the name of the given error code.