1
0
mirror of synced 2025-01-18 22:41:43 +03:00

Fixed typo

This commit is contained in:
Pascal Borreli 2013-03-11 00:31:50 +00:00
parent 6d85779f4d
commit 87e06993d6

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.