@@ -290,10 +290,10 @@ |
||
| 290 | 290 | public function getBaseUrl($endpointStandardization = false) |
| 291 | 291 | { |
| 292 | 292 | if ($endpointStandardization === true) { |
| 293 | - return 'https://' . self::$regionsWithIds[$this->region] . '.api.riotgames.com'; |
|
| 293 | + return 'https://'.self::$regionsWithIds[$this->region].'.api.riotgames.com'; |
|
| 294 | 294 | } |
| 295 | 295 | |
| 296 | - return 'https://' . $this->region . '.api.pvp.net'; |
|
| 296 | + return 'https://'.$this->region.'.api.pvp.net'; |
|
| 297 | 297 | } |
| 298 | 298 | |
| 299 | 299 | /** |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | $baseUrl = $global ? $this->apiClient->getGlobalUrl() : ($status ? $this->apiClient->getStatusUrl() : $this->apiClient->getBaseUrl($endpointStandardization)); |
| 44 | 44 | |
| 45 | 45 | if ($endpointStandardization === true) { |
| 46 | - $baseUrl = $baseUrl . str_replace('{region}', $this->apiClient->getRegion(), $url); |
|
| 46 | + $baseUrl = $baseUrl.str_replace('{region}', $this->apiClient->getRegion(), $url); |
|
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | $queryParameters = array_merge(['api_key' => $this->apiClient->getApiKey()], $queryParameters); |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | { |
| 74 | 74 | $baseUrl = $global ? $this->apiClient->getGlobalUrl() : $this->apiClient->getBaseUrl($endpointStandardization); |
| 75 | 75 | |
| 76 | - return $baseUrl . $url . '?' . http_build_query($queryParameters); |
|
| 76 | + return $baseUrl.$url.'?'.http_build_query($queryParameters); |
|
| 77 | 77 | } |
| 78 | 78 | |
| 79 | 79 | /** |