#1246 DDC-3487 - removed unused assignment, making $association
variable overwrite more obvious
This commit is contained in:
parent
c4366124c7
commit
97d1d5343e
@ -306,8 +306,10 @@ class ManyToManyPersister extends AbstractCollectionPersister
|
|||||||
$association = $mapping;
|
$association = $mapping;
|
||||||
|
|
||||||
if ( ! $mapping['isOwningSide']) {
|
if ( ! $mapping['isOwningSide']) {
|
||||||
$class = $this->em->getClassMetadata($mapping['targetEntity']);
|
$association = $this
|
||||||
$association = $class->associationMappings[$mapping['mappedBy']];
|
->em
|
||||||
|
->getClassMetadata($mapping['targetEntity'])
|
||||||
|
->associationMappings[$mapping['mappedBy']];
|
||||||
}
|
}
|
||||||
|
|
||||||
$targetClass = $this->em->getClassMetadata($mapping['targetEntity']);
|
$targetClass = $this->em->getClassMetadata($mapping['targetEntity']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user