Commit 32e608e5 authored by romanb's avatar romanb

[2.0][DDC-159] Fixed.

parent 7db2f9ab
...@@ -50,7 +50,7 @@ class XmlDriver extends AbstractFileDriver ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment