Skip to content

Commit 307736e

Browse files
committed
Fix association mapping docs (closes #11797)
1 parent 1d3c91a commit 307736e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/en/reference/association-mapping.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -901,10 +901,11 @@ join columns default to the simple, unqualified class name of the
901901
targeted class followed by "\_id". The referencedColumnName always
902902
defaults to "id", just as in one-to-one or many-to-one mappings.
903903

904-
Additionally, when using typed properties with Doctrine 2.9 or newer
904+
Additionally, when using typed properties with ORM 2.9 or newer
905905
you can skip ``targetEntity`` in ``ManyToOne`` and ``OneToOne``
906-
associations as they will be set based on type. Also ``nullable``
907-
attribute on ``JoinColumn`` will be inherited from PHP type. So that:
906+
associations as they will be set based on type. Also with ORM 3.4
907+
or newer, ``nullable`` attribute on ``JoinColumn`` will be inherited
908+
from PHP type. So that:
908909

909910
.. configuration-block::
910911

0 commit comments

Comments
 (0)