mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +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;
|
return;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$fq_class_name = ($statements_checker->getNamespace()
|
$fq_class_name = (string)$context->self;
|
||||||
? $statements_checker->getNamespace() . '\\'
|
|
||||||
: '') . $statements_checker->getClassName();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($context->isPhantomClass($fq_class_name)) {
|
if ($context->isPhantomClass($fq_class_name)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user