Skip to content

Commit 6592d34

Browse files
committed
fixed grammar in example message for CardScheme constraint
1 parent e15ca16 commit 6592d34

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

reference/constraints/CardScheme.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ on an object that will contain a credit card number.
3535
cardNumber:
3636
- CardScheme:
3737
schemes: [VISA]
38-
message: You credit card number is invalid.
38+
message: Your credit card number is invalid.
3939
4040
.. code-block:: xml
4141
@@ -46,7 +46,7 @@ on an object that will contain a credit card number.
4646
<option name="schemes">
4747
<value>VISA</value>
4848
</option>
49-
<option name="message">You credit card number is invalid.</option>
49+
<option name="message">Your credit card number is invalid.</option>
5050
</constraint>
5151
</property>
5252
</class>
@@ -59,7 +59,7 @@ on an object that will contain a credit card number.
5959
class Transaction
6060
{
6161
/**
62-
* @Assert\CardScheme(schemes = {"VISA"}, message = "You credit card number is invalid.")
62+
* @Assert\CardScheme(schemes = {"VISA"}, message = "Your credit card number is invalid.")
6363
*/
6464
protected $cardNumber;
6565
}
@@ -80,7 +80,7 @@ on an object that will contain a credit card number.
8080
'schemes' => array(
8181
'VISA'
8282
),
83-
'message' => 'You credit card number is invalid.',
83+
'message' => 'Your credit card number is invalid.',
8484
)));
8585
}
8686
}
@@ -117,4 +117,4 @@ message
117117

118118
The message shown when the value does not pass the ``CardScheme`` check.
119119

120-
.. _`Wikipedia: Issuer identification number (IIN)`: http://en.wikipedia.org/wiki/Bank_card_number#Issuer_identification_number_.28IIN.29
120+
.. _`Wikipedia: Issuer identification number (IIN)`: http://en.wikipedia.org/wiki/Bank_card_number#Issuer_identification_number_.28IIN.29

0 commit comments

Comments
 (0)