Skip to content

Commit 8b9f007

Browse files
committed
Remove generics support
1 parent 3a6d573 commit 8b9f007

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/SDK/Language/Go.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -304,10 +304,6 @@ protected function getPropertyType(array $property, array $spec, string $generic
304304
if (\array_key_exists('sub_schema', $property)) {
305305
$type = $this->toPascalCase($property['sub_schema']);
306306

307-
if ($this->hasGenericType($property['sub_schema'], $spec)) {
308-
$type = $generic;
309-
}
310-
311307
if ($property['type'] === 'array') {
312308
$type = '[]' . $type;
313309
}

0 commit comments

Comments
 (0)