DDC-3493 - fixed EntityGenerator parsing for php 5.5 "::class" syntax
This commit is contained in:
parent
ddf3125afe
commit
b5e40fe5f5
@ -679,7 +679,7 @@ public function __construct()
|
||||
if ($token[0] == T_NAMESPACE) {
|
||||
$lastSeenNamespace = "";
|
||||
$inNamespace = true;
|
||||
} elseif ($token[0] == T_CLASS) {
|
||||
} elseif ($token[0] == T_CLASS && $tokens[$i-1][0] != T_DOUBLE_COLON) {
|
||||
$inClass = true;
|
||||
} elseif ($token[0] == T_FUNCTION) {
|
||||
if ($tokens[$i+2][0] == T_STRING) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user