Skip to content

Commit 9ef2204

Browse files
committed
Return false for generics checks on 'any' model
1 parent d3f97aa commit 9ef2204

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SDK/Language/Kotlin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ protected function getPropertyType(array $property, array $spec, string $generic
516516

517517
protected function hasGenericType(?string $model, array $spec): string
518518
{
519-
if (empty($model)) {
519+
if (empty($model) || $model === 'any') {
520520
return false;
521521
}
522522

0 commit comments

Comments
 (0)