mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 12:24:49 +01:00
Fix #4705 - clear documenting method ids when scanning stubs
This commit is contained in:
parent
14040ed1fa
commit
7206db2cb6
@ -273,6 +273,8 @@ class Populator
|
||||
private function populateOverriddenMethods(
|
||||
ClassLikeStorage $storage
|
||||
): void {
|
||||
$storage->documenting_method_ids = [];
|
||||
|
||||
foreach ($storage->methods as $method_name => $method_storage) {
|
||||
if (isset($storage->overridden_method_ids[$method_name])) {
|
||||
$overridden_method_ids = $storage->overridden_method_ids[$method_name];
|
||||
|
@ -1181,8 +1181,6 @@ class StubTest extends TestCase
|
||||
|
||||
public function testStubReplacingInterfaceDocblock(): void
|
||||
{
|
||||
$this->markTestSkipped('Tis broken');
|
||||
|
||||
$this->project_analyzer = $this->getProjectAnalyzerWithConfig(
|
||||
TestConfig::loadFromXML(
|
||||
dirname(__DIR__),
|
||||
|
Loading…
Reference in New Issue
Block a user