完成变量混淆

This commit is contained in:
2022-11-19 17:43:43 +08:00
parent 4e17c7125f
commit d135407689
3 changed files with 63 additions and 1 deletions

View File

@@ -53,7 +53,7 @@ class NodeVisitorTools extends NodeVisitorAbstract
public function leaveNode(Node $node)
{
if ($node instanceof Stmt) {
if ($node instanceof Node) {
if (isset($node->attributes['comments'])) {
$comments = $node->attributes['comments'];