Skip to content

Commit b291191

Browse files
committed
fix(go): Collection attributes to []map[string]any
1 parent 0813049 commit b291191

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SDK/Language/Go.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public function getFiles(): array
139139
public function getTypeName(array $parameter, array $spec = []): string
140140
{
141141
if (str_contains($parameter['description'], 'Collection attributes') || str_contains($parameter['description'], 'List of attributes')) {
142-
return '[]any';
142+
return '[]map[string]any';
143143
}
144144
return match ($parameter['type']) {
145145
self::TYPE_INTEGER => 'int',

0 commit comments

Comments
 (0)