Skip to content

Commit 1238e95

Browse files
committed
Prevent infinite loop
1 parent d43bcfe commit 1238e95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Language/Dart/DartGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ private function getDartTypeFromPhp(PhpTypeInterface $type, DtoType $dto, DtoLis
123123
$result = $this->handleUnknownType($type, $dto, $dtoList);
124124

125125
if ($result instanceof PhpTypeInterface) {
126-
return $this->getDartTypeFromPhp($type, $dto, $dtoList);
126+
return $this->getDartTypeFromPhp($result, $dto, $dtoList);
127127
}
128128

129129
return $result;

0 commit comments

Comments
 (0)