Skip to content

Commit 50e14fb

Browse files
committed
Merge pull request #2577 from shieldo/patch-6
fixed grammar in example message for CardScheme constraint
2 parents 09f5e94 + 6592d34 commit 50e14fb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

reference/constraints/CardScheme.rst

Lines changed: 4 additions & 4 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>
@@ -61,7 +61,7 @@ on an object that will contain a credit card number.
6161
class Transaction
6262
{
6363
/**
64-
* @Assert\CardScheme(schemes = {"VISA"}, message = "You credit card number is invalid.")
64+
* @Assert\CardScheme(schemes = {"VISA"}, message = "Your credit card number is invalid.")
6565
*/
6666
protected $cardNumber;
6767
}
@@ -84,7 +84,7 @@ on an object that will contain a credit card number.
8484
'schemes' => array(
8585
'VISA'
8686
),
87-
'message' => 'You credit card number is invalid.',
87+
'message' => 'Your credit card number is invalid.',
8888
)));
8989
}
9090
}

0 commit comments

Comments
 (0)