Skip to content

Commit cefdd6c

Browse files
committed
Merge pull request symfony#3271 from berny46/patch-1
Update Callback.rst
2 parents 77455c9 + a2ec22b commit cefdd6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/constraints/Callback.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Configuration
4242
# src/Acme/BlogBundle/Resources/config/validation.yml
4343
Acme\BlogBundle\Entity\Author:
4444
constraints:
45-
- Callback: validate
45+
- Callback: [validate]
4646
4747
.. code-block:: php-annotations
4848

0 commit comments

Comments
 (0)