Skip to content

Commit

Permalink
Revert vimeo#10361
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Jan 15, 2024
1 parent c6c7649 commit 4dd06f7
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions src/Psalm/Internal/PhpVisitor/Reflector/ClassLikeNodeScanner.php
Original file line number Diff line number Diff line change
Expand Up @@ -632,16 +632,11 @@ public function start(PhpParser\Node\Stmt\ClassLike $node): ?bool
$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;
}


Expand Down

0 comments on commit 4dd06f7

Please sign in to comment.