1
0
mirror of synced 2024-12-14 07:06:04 +03:00

[Tools] removed unused local variable $assocName in ResolveTargetEntityListener class.

This commit is contained in:
Hugo Hamon 2012-01-12 20:07:10 +01:00 committed by Benjamin Eberlei
parent ffa372a76c
commit c0620bf857

View File

@ -61,7 +61,7 @@ class ResolveTargetEntityListener
public function loadClassMetadata(LoadClassMetadataEventArgs $args)
{
$cm = $args->getClassMetadata();
foreach ($cm->associationMappings as $assocName => $mapping) {
foreach ($cm->associationMappings as $mapping) {
if (isset($this->resolveTargetEntities[$mapping['targetEntity']])) {
$this->remapAssociation($cm, $mapping);
}