Skip to content

Commit 1fea07e

Browse files
committed
Fixed a yaml configuration block
1 parent 7199787 commit 1fea07e

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
@@ -238,7 +238,7 @@ not to the property:
238238
# src/Acme/BlogBundle/Resources/config/validation.yml
239239
Acme\DemoBundle\Entity\AcmeEntity:
240240
constraints:
241-
- ContainsAlphanumeric
241+
ContainsAlphanumeric: ~
242242
243243
.. code-block:: php-annotations
244244

0 commit comments

Comments
 (0)