From 97622b57bd9fadea77b50e2f5ced717efbac1357 Mon Sep 17 00:00:00 2001 From: Jakub Zalas Date: Thu, 9 May 2013 15:19:58 +0100 Subject: [PATCH] Fixed a code block. Sphinx does not like the way code was indented. Building the documentation raises the following error: en/cookbook/resolve-target-entity-listener.rst:121: ERROR: Unexpected indentation. --- docs/en/cookbook/resolve-target-entity-listener.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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);