mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Fix issue where self::$property_name doesn’t use Context self
This commit is contained in:
parent
32d85e20da
commit
9b3b536254
@ -573,9 +573,7 @@ class FetchChecker
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
$fq_class_name = ($statements_checker->getNamespace()
|
||||
? $statements_checker->getNamespace() . '\\'
|
||||
: '') . $statements_checker->getClassName();
|
||||
$fq_class_name = (string)$context->self;
|
||||
}
|
||||
|
||||
if ($context->isPhantomClass($fq_class_name)) {
|
||||
|
Loading…
Reference in New Issue
Block a user