We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e581e6 commit 6c219f0Copy full SHA for 6c219f0
src/SDK/Language/Go.php
@@ -138,7 +138,7 @@ public function getFiles(): array
138
*/
139
public function getTypeName(array $parameter, array $spec = []): string
140
{
141
- if (str_contains($parameter['description'], 'Collection attributes') || str_contains($parameter['description'], 'List of attributes')) {
+ if (str_contains($parameter['description'] ?? '', 'Collection attributes') || str_contains($parameter['description'] ?? '', 'List of attributes')) {
142
return '[]map[string]any';
143
}
144
return match ($parameter['type']) {
0 commit comments