Skip to content

Commit b538e84

Browse files
committed
minor #11655 fix constraint reference YAML config syntax (xabbuh)
This PR was merged into the 4.3 branch. Discussion ---------- fix constraint reference YAML config syntax fixes symfony/symfony#31829 Commits ------- 73c26f6 fix constraint reference YAML config syntax
2 parents 7c95255 + 73c26f6 commit b538e84

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

reference/constraints/Negative.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ The following constraint ensures that the ``withdraw`` of a bank account
4747
App\Entity\TransferItem:
4848
properties:
4949
withdraw:
50-
- Negative
50+
- Negative: ~
5151
5252
.. code-block:: xml
5353

reference/constraints/NegativeOrZero.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ is a negative number or equal to zero:
4646
App\Entity\UnderGroundGarage:
4747
properties:
4848
level:
49-
- NegativeOrZero
49+
- NegativeOrZero: ~
5050
5151
.. code-block:: xml
5252

reference/constraints/Positive.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ positive number (greater than zero):
4747
App\Entity\Employee:
4848
properties:
4949
income:
50-
- Positive
50+
- Positive: ~
5151
5252
.. code-block:: xml
5353

reference/constraints/PositiveOrZero.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ is positive or zero:
4646
App\Entity\Person:
4747
properties:
4848
siblings:
49-
- PositiveOrZero
49+
- PositiveOrZero: ~
5050
5151
.. code-block:: xml
5252

0 commit comments

Comments
 (0)