Skip to content

Commit b9b65a2

Browse files
committed
Fix check for token emulation conflicts
1 parent 1b479e7 commit b9b65a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/PhpParser/Lexer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ private function defineCompatibilityTokens() {
439439
$token, $clashingToken
440440
));
441441
}
442-
$usedTokenIds[$token] = $tokenId;
442+
$usedTokenIds[$tokenId] = $token;
443443
}
444444
}
445445

0 commit comments

Comments
 (0)