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 6c005bc commit f9050a1Copy full SHA for f9050a1
templates/php/src/Client.php.twig
@@ -38,7 +38,7 @@ class Client
38
protected $headers = [
39
'content-type' => '',
40
'x-sdk-version' => '{{spec.title | caseDash}}:{{ language.name | caseLower }}:{{ sdk.version }}',
41
- 'User-Agent' => '{{spec.title | caseUcfirst}}PHP/{{ sdk.version }} (${os.type()} ${os.version()}; ${os.arch()})',
+ 'user-agent' => '{{spec.title | caseUcfirst}}{{ language.name | caseUcfirst }}SDK/{{ sdk.version }} (${php_uname('s')}; ${php_uname('v')}; ${php_uname('m')})',
42
];
43
44
/**
0 commit comments