1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Fix #1412 - use proper method name where appropriate

This commit is contained in:
Matthew Brown 2019-03-01 13:33:23 -05:00
parent 564da61937
commit 4bbe13e28f

View File

@ -751,7 +751,7 @@ class ClassLikes
} else {
$declaring_method_id = $classlike_storage->declaring_method_ids[$method_name];
list($declaring_fq_classlike_name) = explode('::', $declaring_method_id);
list($declaring_fq_classlike_name, $declaring_method_name) = explode('::', $declaring_method_id);
try {
$declaring_classlike_storage = $this->classlike_storage_provider->get($declaring_fq_classlike_name);
@ -759,7 +759,7 @@ class ClassLikes
continue;
}
$method_storage = $declaring_classlike_storage->methods[$method_name];
$method_storage = $declaring_classlike_storage->methods[$declaring_method_name];
}
if (($method_storage->referencing_locations === null