mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Find annotated magic static methods on parent class
This commit is contained in:
parent
75394c5037
commit
ceba3d889d
@ -560,6 +560,8 @@ final class Populator
|
|||||||
|
|
||||||
$parent_storage->dependent_classlikes[strtolower($storage->name)] = true;
|
$parent_storage->dependent_classlikes[strtolower($storage->name)] = true;
|
||||||
|
|
||||||
|
$storage->pseudo_static_methods += $parent_storage->pseudo_static_methods;
|
||||||
|
|
||||||
$storage->pseudo_methods += $parent_storage->pseudo_methods;
|
$storage->pseudo_methods += $parent_storage->pseudo_methods;
|
||||||
$storage->declaring_pseudo_method_ids += $parent_storage->declaring_pseudo_method_ids;
|
$storage->declaring_pseudo_method_ids += $parent_storage->declaring_pseudo_method_ids;
|
||||||
}
|
}
|
||||||
|
@ -447,6 +447,7 @@ final class MethodGetCompletionItemsForClassishThingTest extends TestCase
|
|||||||
'protectedStaticMethod',
|
'protectedStaticMethod',
|
||||||
],
|
],
|
||||||
'::' => [
|
'::' => [
|
||||||
|
'magicStaticMethod',
|
||||||
'publicStaticProp',
|
'publicStaticProp',
|
||||||
'protectedStaticProp',
|
'protectedStaticProp',
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user