8000 [#7057] Moved versionadded directive · symfony/symfony-docs@32a5588 · GitHub
[go: up one dir, main page]

Skip to content

Commit 32a5588

Browse files
committed
[#7057] Moved versionadded directive
1 parent 13acf3e commit 32a5588

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/constraints/UniqueEntity.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,11 @@ This method should return a countable result.
168168
entityClass
169169
~~~~~~~~~~~
170170

171-
**type**: ``string`` **default**: ``null``
172-
173171
.. versionadded:: 3.2
174172
The ``entityClass`` option was introduced in Symfony 3.2.
175173

174+
**type**: ``string``
175+
176176
By default, the query performed to ensure the uniqueness uses the repository of
177177
the current class instance. However, in some cases, such as when using Doctrine
178178
inheritance mapping, you need to execute the query in a different repository.

0 commit comments

Comments
 (0)
0