Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 39f46e1

Browse files
javiereguiluzweaverryan
authored andcommitted
Fixed the issues reported by @xabbuh
1 parent 7003445 commit 39f46e1

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

reference/constraints/GreaterThan.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ than another value, see :doc:`/reference/constraints/LessThan`.
1414
+----------------+---------------------------------------------------------------------------+
1515
| Options | - `value`_ |
1616
| | - `message`_ |
17+
| | - `payload`_ |
1718
+----------------+---------------------------------------------------------------------------+
1819
| Class | :class:`Symfony\\Component\\Validator\\Constraints\\GreaterThan` |
1920
+----------------+---------------------------------------------------------------------------+
@@ -30,7 +31,7 @@ If you want to ensure that the ``age`` of a ``Person`` class is greater than
3031

3132
.. code-block:: yaml
3233
33-
# src/SocialBundle/Resources/config/validation.yml
34+
# src/Acme/SocialBundle/Resources/config/validation.yml
3435
Acme\SocialBundle\Entity\Person:
3536
properties:
3637
age:
@@ -93,7 +94,7 @@ Comparing Dates
9394
---------------
9495

9596
.. versionadded:: 2.6
96-
The feature to compare dates was added in Symfony 2.6.
97+
The feature to compare dates was introduced in Symfony 2.6.
9798

9899
This constraint can be used to compare ``DateTime`` objects against any date
99100
string `accepted by the DateTime constructor`_. For example, you could check
@@ -287,4 +288,6 @@ message
287288
This is the message that will be shown if the value is not greater than the
288289
comparison value.
289290

291+
.. include:: /reference/constraints/_payload-option.rst.inc
292+
290293
.. _`accepted by the DateTime constructor`: http://www.php.net/manual/en/datetime.formats.php

reference/constraints/GreaterThanOrEqual.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ or equal to ``18``, you could do the following:
2929

3030
.. code-block:: yaml
3131
32-
# src/SocialBundle/Resources/config/validation.yml
32+
# src/Acme/SocialBundle/Resources/config/validation.yml
3333
Acme\SocialBundle\Entity\Person:
3434
properties:
3535
age:
@@ -92,7 +92,7 @@ Comparing Dates
9292
---------------
9393

9494
.. versionadded:: 2.6
95-
The feature to compare dates was added in Symfony 2.6.
95+
The feature to compare dates was introduced in Symfony 2.6.
9696

9797
This constraint can be used to compare ``DateTime`` objects against any date
9898
string `accepted by the DateTime constructor`_. For example, you could check

reference/constraints/LessThan.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ If you want to ensure that the ``age`` of a ``Person`` class is less than
3030

3131
.. code-block:: yaml
3232
33-
# src/SocialBundle/Resources/config/validation.yml
33+
# src/Acme/SocialBundle/Resources/config/validation.yml
3434
Acme\SocialBundle\Entity\Person:
3535
properties:
3636
age:
@@ -93,7 +93,7 @@ Comparing Dates
9393
---------------
9494

9595
.. versionadded:: 2.6
96-
The feature to compare dates was added in Symfony 2.6.
96+
The feature to compare dates was introduced in Symfony 2.6.
9797

9898
This constraint can be used to compare ``DateTime`` objects against any date
9999
string `accepted by the DateTime constructor`_. For example, you could check

reference/constraints/LessThanOrEqual.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ equal to ``80``, you could do the following:
2929

3030
.. code-block:: yaml
3131
32-
# src/SocialBundle/Resources/config/validation.yml
32+
# src/Acme/SocialBundle/Resources/config/validation.yml
3333
Acme\SocialBundle\Entity\Person:
3434
properties:
3535
age:
@@ -92,7 +92,7 @@ Comparing Dates
9292
---------------
9393

9494
.. versionadded:: 2.6
95-
The feature to compare dates was added in Symfony 2.6.
95+
The feature to compare dates was introduced in Symfony 2.6.
9696

9797
This constraint can be used to compare ``DateTime`` objects against any date
9898
string `accepted by the DateTime constructor`_. For example, you could check

0 commit comments

Comments
 (0)