[Tools] removed unused local variable $assocName in ResolveTargetEntityListener class.
This commit is contained in:
parent
ffa372a76c
commit
c0620bf857
@ -61,7 +61,7 @@ class ResolveTargetEntityListener
|
|||||||
public function loadClassMetadata(LoadClassMetadataEventArgs $args)
|
public function loadClassMetadata(LoadClassMetadataEventArgs $args)
|
||||||
{
|
{
|
||||||
$cm = $args->getClassMetadata();
|
$cm = $args->getClassMetadata();
|
||||||
foreach ($cm->associationMappings as $assocName => $mapping) {
|
foreach ($cm->associationMappings as $mapping) {
|
||||||
if (isset($this->resolveTargetEntities[$mapping['targetEntity']])) {
|
if (isset($this->resolveTargetEntities[$mapping['targetEntity']])) {
|
||||||
$this->remapAssociation($cm, $mapping);
|
$this->remapAssociation($cm, $mapping);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user