[2.0] DDC-457 - Fix invalid reference to MappingException in Xml and Yml Drivers
This commit is contained in:
parent
c6f0699dbf
commit
6b86c97f0a
@ -57,7 +57,7 @@ class XmlDriver extends AbstractFileDriver
|
||||
} else if ($xmlRoot->getName() == 'mapped-superclass') {
|
||||
$metadata->isMappedSuperclass = true;
|
||||
} else {
|
||||
throw MappingException::classIsNotAValidEntityOrMapperSuperClass($className);
|
||||
throw MappingException::classIsNotAValidEntityOrMappedSuperClass($className);
|
||||
}
|
||||
|
||||
// Evaluate <entity...> attributes
|
||||
|
@ -57,7 +57,7 @@ class YamlDriver extends AbstractFileDriver
|
||||
} else if ($element['type'] == 'mappedSuperclass') {
|
||||
$metadata->isMappedSuperclass = true;
|
||||
} else {
|
||||
throw MappingException::classIsNotAValidEntityOrMapperSuperClass($className);
|
||||
throw MappingException::classIsNotAValidEntityOrMappedSuperClass($className);
|
||||
}
|
||||
|
||||
// Evaluate root level properties
|
||||
|
Loading…
Reference in New Issue
Block a user