1
0
mirror of synced 2025-02-20 06:03:15 +03:00

Get rid of variable

This commit is contained in:
Sander Marechal 2013-06-20 10:20:16 +02:00
parent 647c5e2cad
commit 53c9ffda30

View File

@ -521,8 +521,7 @@ final class PersistentCollection implements Collection, Selectable
&& $this->association['fetch'] === Mapping\ClassMetadataInfo::FETCH_EXTRA_LAZY
&& isset($this->association['indexBy'])
) {
$persister = $this->em->getUnitOfWork()->getCollectionPersister($this->association);
return $persister->get($this, $key);
return $this->em->getUnitOfWork()->getCollectionPersister($this->association)->get($this, $key);
}
$this->initialize();