Skip to content

Commit dd2c988

Browse files
committed
minor #14937 [Validator] Use correct single quotes for a string (wkania)
This PR was merged into the 4.4 branch. Discussion ---------- [Validator] Use correct single quotes for a string Like in the [Unique](https://symfony.com/doc/current/reference/constraints/Unique.html). Currently, it's not consistent with the rest. Commits ------- 648bd07 [Validator] Use correct single quotes for a string
2 parents b8d06da + 648bd07 commit dd2c988

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

reference/constraints/IsFalse.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ IsFalse
33

44
Validates that a value is ``false``. Specifically, this checks to see if
55
the value is exactly ``false``, exactly the integer ``0``, or exactly the
6-
string "``0``".
6+
string ``'0'``.
77

88
Also see :doc:`IsTrue <IsTrue>`.
99

reference/constraints/IsTrue.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ IsTrue
22
======
33

44
Validates that a value is ``true``. Specifically, this checks if the value is
5-
exactly ``true``, exactly the integer ``1``, or exactly the string ``"1"``.
5+
exactly ``true``, exactly the integer ``1``, or exactly the string ``'1'``.
66

77
Also see :doc:`IsFalse <IsFalse>`.
88

0 commit comments

Comments
 (0)