From 5f8b13c461a10eff10fb5744e7e9e7d5153ba9fa Mon Sep 17 00:00:00 2001 From: luciantugui Date: Tue, 28 Oct 2014 21:32:11 +0100 Subject: [PATCH] Update custom_constraint.rst --- cookbook/validation/custom_constraint.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/cookbook/validation/custom_constraint.rst b/cookbook/validation/custom_constraint.rst index caf582a4eee..f95d311ed20 100644 --- a/cookbook/validation/custom_constraint.rst +++ b/cookbook/validation/custom_constraint.rst @@ -69,7 +69,6 @@ The validator class is also simple, and only has one required method ``validate( $this->context->buildViolation($constraint->message) ->setParameter('%string%', $value) ->addViolation(); - ); // If you're using the old 2.4 validation API /*