We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9cf1509 + ef67be9 commit 6d4d266Copy full SHA for 6d4d266
1 file changed
templates/php/src/Client.php.twig
@@ -354,7 +354,7 @@ class Client
354
$finalKey = $prefix ? "{$prefix}[{$key}]" : $key;
355
356
if (is_array($value)) {
357
- $output += $this->flatten($value, $finalKey); // @todo: handle name collision here if needed
+ $output = array_merge($output, $this->flatten($value, $finalKey));
358
}
359
else {
360
$output[$finalKey] = $value;
0 commit comments