Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9674500

Browse filesBrowse files
committed
Fix incorrect callback validation example
1 parent 79b59a0 commit 9674500
Copy full SHA for 9674500

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎reference/constraints/Callback.rst

Copy file name to clipboardExpand all lines: reference/constraints/Callback.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Configuration
5959
# src/AppBundle/Resources/config/validation.yml
6060
AppBundle\Entity\Author:
6161
constraints:
62-
- Callback: [validate]
62+
- Callback: validate
6363
6464
.. code-block:: xml
6565

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.