8000 minor #17909 [Validator] Add a few missing option default values (ale… · symfony/symfony-docs@5f12abb · GitHub
[go: up one dir, main page]

Skip to content

Commit 5f12abb

Browse files
committed
minor #17909 [Validator] Add a few missing option default values (alexandre-daubois)
This PR was merged into the 5.4 branch. Discussion ---------- [Validator] Add a few missing option default values Commits ------- 107be53 [Validator] Add a few missing option default values
2 parents 123af46 + 107be53 commit 5f12abb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

reference/constraints/UniqueEntity.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ Options
145145
em
146146
~~
147147

148-
**type**: ``string``
148+
**type**: ``string`` **default**: ``null``
149149

150150
The name of the entity manager to use for making the query to determine
151151
the uniqueness. If it's left blank, the correct entity manager will be
@@ -155,7 +155,7 @@ not need to be used.
155155
``entityClass``
156156
~~~~~~~~~~~~~~~
157157

158-
**type**: ``string``
158+
**type**: ``string`` **default**: ``null``
159159

160160
By default, the query performed to ensure the uniqueness uses the repository of
161161
the current class instance. However, in some cases, such as when using Doctrine

reference/constraints/_comparison-propertypath-option.rst.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
``propertyPath``
22
~~~~~~~~~~~~~~~~
33

4-
**type**: ``string``
4+
**type**: ``string`` **default**: ``null``
55

66
It defines the object property whose value is used to make the comparison.
77

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
``groups``
22
~~~~~~~~~~
33

4-
**type**: ``array`` | ``string``
4+
**type**: ``array`` | ``string`` **default**: ``null``
55

66
It defines th 3855 e validation group or groups of this constraint. Read more
77
about :doc:`validation groups </validation/groups>`.

0 commit comments

Comments
 (0)
0