Skip to content

Commit 8613a24

Browse files
committed
Clear ConverterResult in SymfonyControllerVisitor.
1 parent 3b2357b commit 8613a24

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Bridge/Symfony/SymfonyControllerVisitor.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@ private function createApiEndpoint(ClassMethod $node): void
168168

169169
public function popResult(): ConverterResult
170170
{
171-
return $this->converterResult;
171+
$result = $this->converterResult;
172+
$this->converterResult = new ConverterResult();
173+
return $result;
172174
}
173175
}

0 commit comments

Comments
 (0)