Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.2k
[Validation] Update CardScheme#2115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
This option is required and represents the name of the number scheme used to | ||
validate the credit card number. Valid values are: | ||
validate the credit card number. It can either be a String or an Array. Valid |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I tend to prefervalidate the credit card number, it can either...
.
And you should lowercasestring
andarray
, otherwise you are talking about non existing String and Array classes.
I improved the docs as suggested by@wouterj |
[Validation] Update CardScheme
Thanks Sebastian! |
The CardScheme validator changed with PRsymfony/symfony#6583, so I improved the docs, mentioning that it now takes a mixed parameter and also clarifying that this parameter can be either a string or an array.