Skip to content

Commit 7c70ec2

Browse files
authored
ChoiceValidator : remove 'strict' option
Since symfony/validator@52feb05#diff-343abfd5be03d0bef6587c21d10d0dd9. 'strict' option did not exist anymore.
1 parent 32104ef commit 7c70ec2

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

reference/constraints/Choice.rst

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ an array of items is one of those valid choices.
1717
| | - `multipleMessage`_ |
1818
| | - `minMessage`_ |
1919
| | - `maxMessage`_ |
20-
| | - `strict`_ |
2120
| | - `payload`_ |
2221
+----------------+----------------------------------------------------------------------+
2322
| Class | :class:`Symfony\\Component\\Validator\\Constraints\\Choice` |
@@ -360,13 +359,4 @@ maxMessage
360359
This is the validation error message that's displayed when the user chooses
361360
too many options per the `max`_ option.
362361

363-
strict
364-
~~~~~~
365-
366-
**type**: ``boolean`` **default**: ``true``
367-
368-
The validator will also check the type of the input value. Specifically,
369-
this value is passed to as the third argument to the PHP :phpfunction:`in_array`
370-
method when checking to see if a value is in the valid choices array.
371-
372362
.. include:: /reference/constraints/_payload-option.rst.inc

0 commit comments

Comments
 (0)