DDC-1244 - Fix bug with entities without namespace
This commit is contained in:
parent
c87dedbec5
commit
d9b1dbbb09
@ -438,7 +438,7 @@ public function <methodName>()
|
|||||||
|
|
||||||
if ($inClass) {
|
if ($inClass) {
|
||||||
$inClass = false;
|
$inClass = false;
|
||||||
$lastSeenClass = $lastSeenNamespace . '\\' . $token[1];
|
$lastSeenClass = $lastSeenNamespace . ($lastSeenNamespace ? '\\' : '') . $token[1];
|
||||||
$this->_staticReflection[$lastSeenClass]['properties'] = array();
|
$this->_staticReflection[$lastSeenClass]['properties'] = array();
|
||||||
$this->_staticReflection[$lastSeenClass]['methods'] = array();
|
$this->_staticReflection[$lastSeenClass]['methods'] = array();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user