Skip to content

Commit 539b843

Browse files
committed
Fixed the default value of Choice strict option
1 parent a4ea022 commit 539b843

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
@@ -365,7 +365,7 @@ too many options per the `max`_ option.
365365
strict
366366
~~~~~~
367367

368-
**type**: ``boolean`` **default**: ``false``
368+
**type**: ``boolean`` **default**: ``true``
369369

370370
The validator will also check the type of the input value. Specifically,
371371
this value is passed to as the third argument to the PHP :phpfunction:`in_array`

0 commit comments

Comments
 (0)