1
0
mirror of synced 2025-01-31 04:21:44 +03:00

#1246 DDC-3487 - removed unused assignment, making $association variable overwrite more obvious

This commit is contained in:
Marco Pivetta 2015-01-13 14:46:34 +01:00
parent c4366124c7
commit 97d1d5343e

View File

@ -306,8 +306,10 @@ class ManyToManyPersister extends AbstractCollectionPersister
$association = $mapping;
if ( ! $mapping['isOwningSide']) {
$class = $this->em->getClassMetadata($mapping['targetEntity']);
$association = $class->associationMappings[$mapping['mappedBy']];
$association = $this
->em
->getClassMetadata($mapping['targetEntity'])
->associationMappings[$mapping['mappedBy']];
}
$targetClass = $this->em->getClassMetadata($mapping['targetEntity']);