Skip to content

[Validator] Add a few missing option default values #17909

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions reference/constraints/UniqueEntity.rst
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ Options
em
~~

**type**: ``string``
**type**: ``string`` **default**: ``null``

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

**type**: ``string``
**type**: ``string`` **default**: ``null``

By default, the query performed to ensure the uniqueness uses the repository of
the current class instance. However, in some cases, such as when using Doctrine
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
``propertyPath``
~~~~~~~~~~~~~~~~

**type**: ``string``
**type**: ``string`` **default**: ``null``

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

Expand Down
2 changes: 1 addition & 1 deletion reference/constraints/_groups-option.rst.inc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
``groups``
~~~~~~~~~~

**type**: ``array`` | ``string``
**type**: ``array`` | ``string`` **default**: ``null``

It defines the validation group or groups of this constraint. Read more
about :doc:`validation groups </validation/groups>`.