From 292e93ded45e4a38710dbaef5537542dfda30833 Mon Sep 17 00:00:00 2001 From: romanb Date: Thu, 28 May 2009 11:39:16 +0000 Subject: [PATCH] [2.0] Formatting issues. --- lib/Doctrine/ORM/EntityManager.php | 6 +++--- lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php | 4 ++-- lib/Doctrine/ORM/UnitOfWork.php | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/Doctrine/ORM/EntityManager.php b/lib/Doctrine/ORM/EntityManager.php index 3d2bbee5a..72a8855ef 100644 --- a/lib/Doctrine/ORM/EntityManager.php +++ b/lib/Doctrine/ORM/EntityManager.php @@ -197,8 +197,8 @@ class EntityManager */ public function rollback() { - $this->_conn->rollback(); - $this->close(); + $this->_conn->rollback(); + $this->close(); } /** @@ -409,7 +409,7 @@ class EntityManager */ public function refresh($entity) { - $this->_errorIfClosed(); + $this->_errorIfClosed(); throw DoctrineException::notImplemented(); } diff --git a/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php b/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php index 5d29a3d6a..c5ebaddc5 100644 --- a/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php +++ b/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php @@ -246,7 +246,7 @@ class ClassMetadataFactory // Generate INSERT SQL $columns = $values = array(); if ($class->inheritanceType == ClassMetadata::INHERITANCE_TYPE_JOINED) { - // Generate INSERT SQL for inheritance type JOINED + // Generate INSERT SQL for inheritance type JOINED foreach ($class->reflFields as $name => $field) { if (isset($class->fieldMappings[$name]['inherited']) && ! isset($class->fieldMappings[$name]['id']) || isset($class->inheritedAssociationFields[$name])) { @@ -267,7 +267,7 @@ class ClassMetadataFactory } } } else { - // Generate INSERT SQL for inheritance types NONE, SINGLE_TABLE, TABLE_PER_CLASS + // Generate INSERT SQL for inheritance types NONE, SINGLE_TABLE, TABLE_PER_CLASS foreach ($class->reflFields as $name => $field) { if (isset($class->associationMappings[$name])) { $assoc = $class->associationMappings[$name]; diff --git a/lib/Doctrine/ORM/UnitOfWork.php b/lib/Doctrine/ORM/UnitOfWork.php index 46e047ce6..84ad3b070 100644 --- a/lib/Doctrine/ORM/UnitOfWork.php +++ b/lib/Doctrine/ORM/UnitOfWork.php @@ -1517,7 +1517,7 @@ class UnitOfWork implements PropertyChangedListener */ public function clearEntityChangeSet($oid) { - unset($this->_entityChangeSets[$oid]); + unset($this->_entityChangeSets[$oid]); } /* PropertyChangedListener implementation */