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);