8000 [Constraints] Update `callback` argument type · symfony/symfony-docs@66b1662 · GitHub
[go: up one dir, main page]

Skip to content

Commit 66b1662

Browse files
[Constraints] Update callback argument type
1 parent 2c1c4b6 commit 66b1662

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/constraints/Choice.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ Available Options
262262
``callback``
263263
~~~~~~~~~~~~
264264

265-
**type**: ``string|array|Closure``
265+
**type**: ``callable|string|null`` **default**: ``null``
266266

267267
This is a callback method that can be used instead of the `choices`_ option
268268
to return the choices array. See

0 commit comments

Comments
 (0)
0