From 55ee2550df05da055d2f6987b9e43900d77b492f Mon Sep 17 00:00:00 2001 From: Amine Matmati Date: Mon, 23 Feb 2015 15:28:39 -0600 Subject: [PATCH] Fixed variable name in : Reference -> validation constraints -> count -> basic usage -> PHP --- reference/constraints/Count.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,