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 729570b commit c600f65Copy full SHA for c600f65
src/Clients/GuzzleClient.php
@@ -18,8 +18,8 @@ public function __construct(HetznerAPIClient $client)
18
'headers' => [
19
'Authorization' => 'Bearer ' . $client->getApiToken(),
20
'Content-Type' => 'application/json',
21
- 'User-Agent' => 'hcloud-php/' . HetznerAPIClient::VERSION . (strlen($client->getUserAgent() > 0) ? ' ' . $client->getUserAgent() : '')
+ 'User-Agent' => (strlen($client->getUserAgent() > 0) ? ' ' . $client->getUserAgent() : '') . 'hcloud-php/' . HetznerAPIClient::VERSION
22
],
23
]);
24
}
25
-}
+}
0 commit comments