Skip to content

Commit 4b16cca

Browse files
committed
Merge pull request symfony#2314 from hpatoio/2.0
Fixed a yaml configuration block
2 parents b60780e + 1fea07e commit 4b16cca

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)