8000 Merge pull request #2895 from xabbuh/fix-method-ref · dunglas/symfony-docs@7c7ff99 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7c7ff99

Browse files
committed
Merge pull request symfony#2895 from xabbuh/fix-method-ref
Little markup issue fix
2 parents 4079fc6 + b9934af commit 7c7ff99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/validation/custom_constraint.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ In other words, if you create a custom ``Constraint`` (e.g. ``MyConstraint``),
5252
Symfony2 will automatically look for another class, ``MyConstraintValidator``
5353
when actually performing the validation.
5454

55-
The validator class is also simple, and only has one required method: ``validate``::
55+
The validator class is also simple, and only has one required method ``validate()``::
5656

5757
// src/Acme/DemoBundle/Validator/Constraints/ContainsAlphanumericValidator.php
5858
namespace Acme\DemoBundle\Validator\Constraints;

0 commit comments

Comments
 (0)
0