mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
fix missing case for displaying varId
This commit is contained in:
parent
826b26bf6b
commit
2612f5a5f1
@ -216,6 +216,10 @@ class ExpressionIdentifier
|
||||
}
|
||||
}
|
||||
|
||||
if ($stmt instanceof PhpParser\Node\Expr\ConstFetch) {
|
||||
return implode('\\', $stmt->name->parts);
|
||||
}
|
||||
|
||||
return self::getVarId($stmt, $this_class_name, $source);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user