From 5828740f7153d21ac3e5c8e99f62528dfd0f763b Mon Sep 17 00:00:00 2001 From: Sebastian Goettschkes Date: Tue, 8 Jan 2013 21:29:22 +0100 Subject: [PATCH 1/2] [Validation] Update CardScheme --- reference/constraints/CardScheme.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/reference/constraints/CardScheme.rst b/reference/constraints/CardScheme.rst index fe9b27f7c89..5de3b4b20b0 100644 --- a/reference/constraints/CardScheme.rst +++ b/reference/constraints/CardScheme.rst @@ -91,10 +91,11 @@ Available Options schemes ------- -**type**: ``array`` [:ref:`default option`] +**type**: ``mixed`` [:ref:`default option`] 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 +values are: * ``AMEX`` * ``CHINA_UNIONPAY`` From cc3ce38577a35a23bea266a11dc37c27c08d25f9 Mon Sep 17 00:00:00 2001 From: Sebastian Goettschkes Date: Wed, 9 Jan 2013 09:27:42 +0100 Subject: [PATCH 2/2] Fixing minor grammer issues in CardScheme constraint --- reference/constraints/CardScheme.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/constraints/CardScheme.rst b/reference/constraints/CardScheme.rst index 5de3b4b20b0..35b63aacb02 100644 --- a/reference/constraints/CardScheme.rst +++ b/reference/constraints/CardScheme.rst @@ -94,7 +94,7 @@ schemes **type**: ``mixed`` [:ref:`default option`] This option is required and represents the name of the number scheme used to -validate the credit card number. It can either be a String or an Array. Valid +validate the credit card number, it can either be a string or an array. Valid values are: * ``AMEX``