DDC-1030 - Fix Static Reflection with namespace levels deeper than one.
This commit is contained in:
parent
3d0d31ddf8
commit
35a152318e
1 changed files with 2 additions and 0 deletions
|
@ -412,6 +412,8 @@ public function <methodName>()
|
|||
$token = $tokens[$i];
|
||||
if ($token[0] == T_NAMESPACE) {
|
||||
$lastSeenNamespace = $tokens[$i+2][1] . "\\";
|
||||
} else if ($token[0] == T_NS_SEPARATOR) {
|
||||
$lastSeenNamespace .= $tokens[$i+1][1] . "\\";
|
||||
} else if ($token[0] == T_CLASS) {
|
||||
$lastSeenClass = $lastSeenNamespace . $tokens[$i+2][1];
|
||||
$this->_staticReflection[$lastSeenClass]['properties'] = array();
|
||||
|
|
Loading…
Add table
Reference in a new issue