From c4dcd39666fa63e5498411e6b3a79a00a00e9e27 Mon Sep 17 00:00:00 2001 From: Hugo Hamon Date: Thu, 12 Jan 2012 19:41:38 +0100 Subject: [PATCH] [Proxy] renamed AS to as. --- lib/Doctrine/ORM/Proxy/ProxyFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Proxy/ProxyFactory.php b/lib/Doctrine/ORM/Proxy/ProxyFactory.php index 92a51481c..61c697f62 100644 --- a/lib/Doctrine/ORM/Proxy/ProxyFactory.php +++ b/lib/Doctrine/ORM/Proxy/ProxyFactory.php @@ -397,7 +397,7 @@ class extends \ implements \Doctrine\ORM\Proxy\Proxy if ($original === null) { throw new \Doctrine\ORM\EntityNotFoundException(); } - foreach ($class->reflFields AS $field => $reflProperty) { + foreach ($class->reflFields as $field => $reflProperty) { $reflProperty->setValue($this, $reflProperty->getValue($original)); } unset($this->_entityPersister, $this->_identifier);