From 539b843cb30e61e229e8f94a2cf1d463f9e3aa1a Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Mon, 29 Jan 2018 13:40:08 +0100 Subject: [PATCH] Fixed the default value of Choice strict option --- 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 294afcb6664..08b05d022df 100644 --- a/reference/constraints/Choice.rst +++ b/reference/constraints/Choice.rst @@ -365,7 +365,7 @@ too many options per the `max`_ option. strict ~~~~~~ -**type**: ``boolean`` **default**: ``false`` +**type**: ``boolean`` **default**: ``true`` The validator will also check the type of the input value. Specifically, this value is passed to as the third argument to the PHP :phpfunction:`in_array`