8000 Merge pull request #2115 from Sgoettschkes/card_scheme · symfony/symfony-docs@5065822 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5065822

Browse files
committed
Merge pull request #2115 from Sgoettschkes/card_scheme
[Validation] Update CardScheme
2 parents bc78096 + cc3ce38 commit 5065822

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

reference/constraints/CardScheme.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,11 @@ Available Options
9191
schemes
9292
-------
9393

94-
**type**: ``array`` [:ref:`default option<validation-default-option>`]
94+
**type**: ``mixed`` [:ref:`default option<validation-default-option>`]
9595

9696
This option is required and represents the name of the number scheme used to
97-
validate the credit card number. Valid values are:
97+
validate the credit card number, it can either be a string or an array. Valid
98+
values are:
9899

99100
* ``AMEX``
100101
* ``CHINA_UNIONPAY``

0 commit comments

Comments
 (0)
0