From 1f55351f194df3317aa6648ceb568018c4ac94df Mon Sep 17 00:00:00 2001 From: Alexander Date: Thu, 10 Nov 2011 16:16:55 +0100 Subject: [PATCH] Cleanup --- lib/Doctrine/ORM/UnitOfWork.php | 2 +- tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1458Test.php | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/Doctrine/ORM/UnitOfWork.php b/lib/Doctrine/ORM/UnitOfWork.php index 11280b597..c3bbe0fe8 100644 --- a/lib/Doctrine/ORM/UnitOfWork.php +++ b/lib/Doctrine/ORM/UnitOfWork.php @@ -2196,7 +2196,7 @@ class UnitOfWork implements PropertyChangedListener } else { $overrideLocalValues = isset($hints[Query::HINT_REFRESH]); - // If a only a specific entity is set to refresh, check that it's the one + // If only a specific entity is set to refresh, check that it's the one if(isset($hints[Query::HINT_REFRESH_ENTITY])) { $overrideLocalValues = $hints[Query::HINT_REFRESH_ENTITY] === $entity; } diff --git a/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1458Test.php b/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1458Test.php index 3b13a540c..2a0541afd 100644 --- a/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1458Test.php +++ b/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1458Test.php @@ -74,8 +74,6 @@ class TestEntity */ protected $additional; - private $i = 0; - public function getValue() { return $this->value;