From 66b166258d125834071166ec5de51b47ce9a9b73 Mon Sep 17 00:00:00 2001 From: Alexandre Daubois Date: Tue, 19 Dec 2023 11:36:01 +0100 Subject: [PATCH] [Constraints] Update `callback` argument type --- reference/constraints/Choice.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/constraints/Choice.rst b/reference/constraints/Choice.rst index 8e3b11a01ce..70e5814470f 100644 --- a/reference/constraints/Choice.rst +++ b/reference/constraints/Choice.rst @@ -262,7 +262,7 @@ Available Options ``callback`` ~~~~~~~~~~~~ -**type**: ``string|array|Closure`` +**type**: ``callable|string|null`` **default**: ``null`` This is a callback method that can be used instead of the `choices`_ option to return the choices array. See