Skip to content

Commit 7c7ff99

Browse files
committed
Merge pull request #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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy