From 3135799f9e99f66af058463f2512edfd3026d173 Mon Sep 17 00:00:00 2001 From: romanb Date: Tue, 26 May 2009 11:31:29 +0000 Subject: [PATCH] [2.0] Fixed formatting. --- lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php b/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php index eddee0cc1..d6fba4d2e 100644 --- a/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php +++ b/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php @@ -96,10 +96,10 @@ class ObjectHydrator extends AbstractHydrator if ($assoc->mappedByFieldName) { $this->_fetchedAssociations[$assoc->targetEntityName][$assoc->mappedByFieldName] = true; } else { - $targetClass = $this->_em->getClassMetadata($assoc->targetEntityName); + $targetClass = $this->_em->getClassMetadata($assoc->targetEntityName); if (isset($targetClass->inverseMappings[$assoc->sourceFieldName])) { - $inverseAssoc = $targetClass->inverseMappings[$assoc->sourceFieldName]; - $this->_fetchedAssociations[$assoc->targetEntityName][$inverseAssoc->sourceFieldName] = true; + $inverseAssoc = $targetClass->inverseMappings[$assoc->sourceFieldName]; + $this->_fetchedAssociations[$assoc->targetEntityName][$inverseAssoc->sourceFieldName] = true; } } }