Merge branch 'hotfix/#1256-DDC-3493-fix' into hotfix/#1250-DDC-3493-fix-class-pseudo-constant-parsing-in-entitygenerator
Close #1250 Close #1256
This commit is contained in:
commit
5be57d0f4a
@ -827,7 +827,7 @@ public function __construct(<params>)
|
|||||||
if ($token[0] == T_NAMESPACE) {
|
if ($token[0] == T_NAMESPACE) {
|
||||||
$lastSeenNamespace = "";
|
$lastSeenNamespace = "";
|
||||||
$inNamespace = true;
|
$inNamespace = true;
|
||||||
} elseif ($token[0] == T_CLASS) {
|
} elseif ($token[0] == T_CLASS && $tokens[$i-1][0] != T_DOUBLE_COLON) {
|
||||||
$inClass = true;
|
$inClass = true;
|
||||||
} elseif ($token[0] == T_FUNCTION) {
|
} elseif ($token[0] == T_FUNCTION) {
|
||||||
if ($tokens[$i+2][0] == T_STRING) {
|
if ($tokens[$i+2][0] == T_STRING) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user