Skip to content

Commit 4a53877

Browse files
committed
[#2023] Adding a missing versionadded
1 parent a6fb752 commit 4a53877

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

reference/constraints/Luhn.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
Luhn
22
======
33

4+
.. versionadded:: 2.2
5+
The Luhn validation is new in Symfony 2.2.
6+
47
This constraint is used to ensure that a credit card number passes the `Luhn algorithm`_.
58
It is useful as a first step to validating a credit card: before communicating with a
69
payment gateway.

0 commit comments

Comments
 (0)