Skip to content

Commit b9e4faa

Browse files
committed
Merge branch '6.2' into 6.3
* 6.2: [Validator] Add a few missing option default values
2 parents 5de3644 + 3118c3e commit b9e4faa

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
@@ -120,7 +120,7 @@ Options
120120
em
121121
~~
122122

123-
**type**: ``string``
123+
**type**: ``string`` **default**: ``null``
124124

125125
The name of the entity manager to use for making the query to determine
126126
the uniqueness. If it's left blank, the correct entity manager will be
@@ -130,7 +130,7 @@ not need to be used.
130130
``entityClass``
131131
~~~~~~~~~~~~~~~
132132

133-
**type**: ``string``
133+
**type**: ``string`` **default**: ``null``
134134

135135
By default, the query performed to ensure the uniqueness uses the repository of
136136
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 the validation group or groups of this constraint. Read more
77
about :doc:`validation groups </validation/groups>`.

0 commit comments

Comments
 (0)