Skip to content

Commit

Permalink
Fix class dependencies leak
Browse files Browse the repository at this point in the history
  • Loading branch information
simivar committed Jan 31, 2025
1 parent 8bb8a1f commit 417609c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Analyzer/FileVisitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ public function getClassDescriptions(): array
public function clearParsedClassDescriptions(): void
{
$this->classDescriptions = [];
$this->classDescriptionBuilder->clear();
}

public function leaveNode(Node $node): void
Expand Down

0 comments on commit 417609c

Please sign in to comment.