Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commita2ec22b

Browse files
committed
Update Callback.rst
add square brackets to yaml codeblock (constraints: - Callback: [validate]). Otherwise an error "Expected argument of type array, string given" is thrown
1 parent821a1b4 commita2ec22b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎reference/constraints/Callback.rst

Lines changed: 1 addition & 1 deletion
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)

[8]ページ先頭

©2009-2025 Movatter.jp