diff --git a/docs/en/reference/association-mapping.rst b/docs/en/reference/association-mapping.rst index cbdb3087f6..80325e2f6b 100644 --- a/docs/en/reference/association-mapping.rst +++ b/docs/en/reference/association-mapping.rst @@ -901,9 +901,11 @@ join columns default to the simple, unqualified class name of the targeted class followed by "\_id". The referencedColumnName always defaults to "id", just as in one-to-one or many-to-one mappings. -Additionally, when using typed properties with Doctrine 2.9 or newer +Additionally, when using typed properties with ORM 2.9 or newer you can skip ``targetEntity`` in ``ManyToOne`` and ``OneToOne`` -associations as they will be set based on type. So that: +associations as they will be set based on type. Also with ORM 3.4 +or newer, ``nullable`` attribute on ``JoinColumn`` will be inherited +from PHP type. So that: .. configuration-block:: @@ -930,7 +932,7 @@ Is essentially the same as following: - +