Skip to content

Commit 62d2019

Browse files
committed
fix recursion error #96
1 parent 2e9ee9a commit 62d2019

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PropertyProcessor/Decorator/TypeHint/TypeHintTransferDecorator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ public function __construct(protected PropertyInterface $property) {}
2020
*/
2121
public function decorate(string $input, bool $outputType = false): string
2222
{
23-
return $this->property->getTypeHint($outputType);
23+
return $this->property->getTypeHint($outputType, [self::class]);
2424
}
2525
}

0 commit comments

Comments
 (0)