@@ -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 | /** |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | |
57 | 57 | $handler = HandlerStack::create($mock); |
58 | 58 | |
59 | - return new Client(['handler' => $handler, 'base_uri' => 'https://' . self::REGION . '.api.pvp.net']); |
|
59 | + return new Client(['handler' => $handler, 'base_uri' => 'https://'.self::REGION.'.api.pvp.net']); |
|
60 | 60 | } |
61 | 61 | |
62 | 62 | /** |
@@ -78,6 +78,6 @@ discard block |
||
78 | 78 | |
79 | 79 | $handler = HandlerStack::create($mock); |
80 | 80 | |
81 | - return new Client(['handler' => $handler, 'base_uri' => 'https://' . self::REGION . '.api.pvp.net']); |
|
81 | + return new Client(['handler' => $handler, 'base_uri' => 'https://'.self::REGION.'.api.pvp.net']); |
|
82 | 82 | } |
83 | 83 | } |