Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6592d34

Browse files
committed
fixed grammar in example message for CardScheme constraint
1 parente15ca16 commit6592d34

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
<optionname="schemes">
4747
<value>VISA</value>
4848
</option>
49-
<optionname="message">You credit card number is invalid.</option>
49+
<optionname="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)

[8]ページ先頭

©2009-2025 Movatter.jp