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 269f5e3 commit 4bb2981Copy full SHA for 4bb2981
src/Syntax/SteamApi/Client.php
@@ -208,7 +208,7 @@ protected function sendRequest(Request $request): stdClass
208
} catch (Exception $e) {
209
throw new ApiCallFailedException($e->getMessage(), $e->getCode(), $e);
210
}
211
-
+
212
// For some resources, the Steam API responds with an empty response
213
if (empty($result->body)) {
214
throw new ApiCallFailedException('API call failed due to empty response', $result->code);
@@ -229,7 +229,7 @@ private function buildUrl($version = false): string
229
230
// If we have a version, add it
231
if ($version) {
232
- return $url . $this->version . '/';
+ return "{$url}{$this->version}/";
233
234
235
return $url;
0 commit comments