diff --git a/reference/constraints/Count.rst b/reference/constraints/Count.rst index 0e1f0fbe51c..8a5d007ec99 100644 --- a/reference/constraints/Count.rst +++ b/reference/constraints/Count.rst @@ -88,7 +88,7 @@ you might add the following: class Participant { - public static function loadValidatorMetadata(ClassMetadata $data) + public static function loadValidatorMetadata(ClassMetadata $metadata) { $metadata->addPropertyConstraint('emails', new Assert\Count(array( 'min' => 1,