1
0
mirror of synced 2025-01-18 06:21:40 +03:00

[Proxy] renamed AS to as.

This commit is contained in:
Hugo Hamon 2012-01-12 19:41:38 +01:00 committed by Benjamin Eberlei
parent d09b733cc3
commit c4dcd39666

View File

@ -397,7 +397,7 @@ class <proxyClassName> extends \<className> implements \Doctrine\ORM\Proxy\Proxy
if ($original === null) { if ($original === null) {
throw new \Doctrine\ORM\EntityNotFoundException(); throw new \Doctrine\ORM\EntityNotFoundException();
} }
foreach ($class->reflFields AS $field => $reflProperty) { foreach ($class->reflFields as $field => $reflProperty) {
$reflProperty->setValue($this, $reflProperty->getValue($original)); $reflProperty->setValue($this, $reflProperty->getValue($original));
} }
unset($this->_entityPersister, $this->_identifier); unset($this->_entityPersister, $this->_identifier);