Skip to content

Commit a28276e

Browse files
committed
Fix class dependencies leak
1 parent 18f32c9 commit a28276e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Analyzer/FileVisitor.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ public function getClassDescriptions(): array
228228
public function clearParsedClassDescriptions(): void
229229
{
230230
$this->classDescriptions = [];
231+
$this->classDescriptionBuilder->clear();
231232
}
232233

233234
public function leaveNode(Node $node): void

0 commit comments

Comments
 (0)