[Mapping] removed unused local variable $field in ClassMetadataInfo class.
This commit is contained in:
parent
beae0865db
commit
a3d8207578
@ -838,7 +838,7 @@ class ClassMetadataInfo implements ClassMetadata
|
||||
*/
|
||||
public function validateAssocations()
|
||||
{
|
||||
foreach ($this->associationMappings as $field => $mapping) {
|
||||
foreach ($this->associationMappings as $mapping) {
|
||||
if ( ! \Doctrine\Common\ClassLoader::classExists($mapping['targetEntity']) ) {
|
||||
throw MappingException::invalidTargetEntityClass($mapping['targetEntity'], $this->name, $mapping['fieldName']);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user