Skip to content

Commit ce2b763

Browse files
committed
bug #19314 [Constraints] Update callback argument type (alexandre-daubois)
This PR was merged into the 6.4 branch. Discussion ---------- [Constraints] Update `callback` argument type Fix #19313 Commits ------- 66b1662 [Constraints] Update `callback` argument type
2 parents 7e11df0 + 66b1662 commit ce2b763

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)