1
0
mirror of synced 2025-01-18 06:21:40 +03:00

DDC-1244 - Fix bug with entities without namespace

This commit is contained in:
Benjamin Eberlei 2011-07-12 23:43:24 +02:00
parent c87dedbec5
commit d9b1dbbb09

View File

@ -438,7 +438,7 @@ public function <methodName>()
if ($inClass) {
$inClass = false;
$lastSeenClass = $lastSeenNamespace . '\\' . $token[1];
$lastSeenClass = $lastSeenNamespace . ($lastSeenNamespace ? '\\' : '') . $token[1];
$this->_staticReflection[$lastSeenClass]['properties'] = array();
$this->_staticReflection[$lastSeenClass]['methods'] = array();
}