1
0
mirror of synced 2025-01-29 19:41:45 +03:00

Merge pull request #608 from pborreli/patch-1

Fixed typo
This commit is contained in:
Guilherme Blanco 2013-03-10 17:55:41 -07:00
commit d808c5d895

View File

@ -1377,7 +1377,7 @@ class ClassMetadataInfo implements ClassMetadata
}
if (isset($mapping['id']) && $mapping['id'] === true && $mapping['type'] & self::TO_MANY) {
throw MappingException::illegalToManyIdentifierAssoaction($this->name, $mapping['fieldName']);
throw MappingException::illegalToManyIdentifierAssociation($this->name, $mapping['fieldName']);
}
// Fetch mode. Default fetch mode to LAZY, if not set.