diff --git a/docs/en/cookbook/resolve-target-entity-listener.rst b/docs/en/cookbook/resolve-target-entity-listener.rst index 71b746602..4a1b3b941 100644 --- a/docs/en/cookbook/resolve-target-entity-listener.rst +++ b/docs/en/cookbook/resolve-target-entity-listener.rst @@ -119,8 +119,7 @@ the targetEntity resolution will occur reliably: $evm = new \Doctrine\Common\EventManager; $rtel = new \Doctrine\ORM\Tools\ResolveTargetEntityListener; - $rtel->addResolveTargetEntity('Acme\\InvoiceModule\\Model\\InvoiceSubjectInterface', - 'Acme\\CustomerModule\\Entity\\Customer', array()); + $rtel->addResolveTargetEntity('Acme\\InvoiceModule\\Model\\InvoiceSubjectInterface', 'Acme\\CustomerModule\\Entity\\Customer', array()); // Add the ResolveTargetEntityListener $evm->addEventSubscriber($rtel); diff --git a/docs/en/reference/annotations-reference.rst b/docs/en/reference/annotations-reference.rst index f705cb034..d42fda4e4 100644 --- a/docs/en/reference/annotations-reference.rst +++ b/docs/en/reference/annotations-reference.rst @@ -21,6 +21,7 @@ Index - :ref:`@Id ` - :ref:`@InheritanceType ` - :ref:`@JoinColumn ` +- :ref:`@JoinColumns ` - :ref:`@JoinTable ` - :ref:`@ManyToOne ` - :ref:`@ManyToMany `