Skip to content

Commit 3ba6ca5

Browse files
Dzamirweaverryan
authored andcommitted
Fixed missing - in the yml
1 parent 7cc7d69 commit 3ba6ca5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/validation/custom_constraint.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ not to the property:
238238
# src/Acme/BlogBundle/Resources/config/validation.yml
239239
Acme\DemoBundle\Entity\AcmeEntity:
240240
constraints:
241-
Acme\DemoBundle\Validator\Constraints\ContainsAlphanumeric: ~
241+
- Acme\DemoBundle\Validator\Constraints\ContainsAlphanumeric: ~
242242
243243
.. code-block:: php-annotations
244244

0 commit comments

Comments
 (0)