mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 13:51:54 +01:00
Revert #10361
This commit is contained in:
parent
c6c7649af3
commit
4dd06f7296
@ -632,16 +632,11 @@ final class ClassLikeNodeScanner
|
||||
$storage->pseudo_static_methods[$lc_method_name] = $pseudo_method_storage;
|
||||
} else {
|
||||
$storage->pseudo_methods[$lc_method_name] = $pseudo_method_storage;
|
||||
$storage->declaring_pseudo_method_ids[$lc_method_name] = new MethodIdentifier(
|
||||
$fq_classlike_name,
|
||||
$lc_method_name,
|
||||
);
|
||||
}
|
||||
$method_identifier = new MethodIdentifier(
|
||||
$fq_classlike_name,
|
||||
$lc_method_name,
|
||||
);
|
||||
$storage->inheritable_method_ids[$lc_method_name] = $method_identifier;
|
||||
if (!isset($storage->overridden_method_ids[$lc_method_name])) {
|
||||
$storage->overridden_method_ids[$lc_method_name] = [];
|
||||
}
|
||||
$storage->declaring_pseudo_method_ids[$lc_method_name] = $method_identifier;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user