Get rid of variable
This commit is contained in:
parent
647c5e2cad
commit
53c9ffda30
1 changed files with 1 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue