Skip to content

Commit

Permalink
Fixed missing - in the yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Dzamir authored and weaverryan committed May 16, 2013
1 parent 7cc7d69 commit 3ba6ca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbook/validation/custom_constraint.rst
Expand Up @@ -238,7 +238,7 @@ not to the property:
# src/Acme/BlogBundle/Resources/config/validation.yml
Acme\DemoBundle\Entity\AcmeEntity:
constraints:
Acme\DemoBundle\Validator\Constraints\ContainsAlphanumeric: ~
- Acme\DemoBundle\Validator\Constraints\ContainsAlphanumeric: ~
.. code-block:: php-annotations
Expand Down

0 comments on commit 3ba6ca5

Please sign in to comment.