Merge branch 'DDC-1109'
This commit is contained in:
commit
2c50faf5b2
@ -1628,6 +1628,7 @@ class ClassMetadataInfo implements ClassMetadata
|
|||||||
if (strpos($className, '\\') === false && strlen($this->namespace)) {
|
if (strpos($className, '\\') === false && strlen($this->namespace)) {
|
||||||
$className = $this->namespace . '\\' . $className;
|
$className = $this->namespace . '\\' . $className;
|
||||||
}
|
}
|
||||||
|
$className = ltrim($className, '\\');
|
||||||
$this->discriminatorMap[$value] = $className;
|
$this->discriminatorMap[$value] = $className;
|
||||||
if ($this->name == $className) {
|
if ($this->name == $className) {
|
||||||
$this->discriminatorValue = $value;
|
$this->discriminatorValue = $value;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user