[2.0] DDC-457 - Fix invalid reference to MappingException in Xml and Yml Drivers
This commit is contained in:
parent
c6f0699dbf
commit
6b86c97f0a
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue