From b9934af5043ed4516cb51e59bdd57d1fb8d8710b Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Mon, 12 Aug 2013 13:17:10 +0200 Subject: [PATCH] markup fix --- cookbook/validation/custom_constraint.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/validation/custom_constraint.rst b/cookbook/validation/custom_constraint.rst index 02ac6651c38..d8251d442c0 100644 --- a/cookbook/validation/custom_constraint.rst +++ b/cookbook/validation/custom_constraint.rst @@ -52,7 +52,7 @@ In other words, if you create a custom ``Constraint`` (e.g. ``MyConstraint``), Symfony2 will automatically look for another class, ``MyConstraintValidator`` when actually performing the validation. -The validator class is also simple, and only has one required method: ``validate``:: +The validator class is also simple, and only has one required method ``validate()``:: // src/Acme/DemoBundle/Validator/Constraints/ContainsAlphanumericValidator.php namespace Acme\DemoBundle\Validator\Constraints;