[2.0][DDC-159] Fixed.
This commit is contained in:
parent
7db2f9abd9
commit
32e608e5e2
@ -50,7 +50,7 @@ class XmlDriver extends AbstractFileDriver
|
|||||||
|
|
||||||
if ($xmlRoot->getName() == 'entity') {
|
if ($xmlRoot->getName() == 'entity') {
|
||||||
$metadata->setCustomRepositoryClass(
|
$metadata->setCustomRepositoryClass(
|
||||||
isset($xmlRoot['repository-class']) ? $xmlRoot['repository-class'] : null
|
isset($xmlRoot['repository-class']) ? (string)$xmlRoot['repository-class'] : null
|
||||||
);
|
);
|
||||||
} else if ($xmlRoot->getName() == 'mapped-superclass') {
|
} else if ($xmlRoot->getName() == 'mapped-superclass') {
|
||||||
$metadata->isMappedSuperclass = true;
|
$metadata->isMappedSuperclass = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user