@@ -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 | /** |
@@ -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 | } |
@@ -67,7 +67,7 @@ |
||
| 67 | 67 | { |
| 68 | 68 | $baseUrl = $global ? $this->apiClient->getGlobalUrl() : $this->apiClient->getBaseUrl($endpointStandardization); |
| 69 | 69 | |
| 70 | - return $baseUrl . $url . '?' . http_build_query($queryParameters); |
|
| 70 | + return $baseUrl.$url.'?'.http_build_query($queryParameters); |
|
| 71 | 71 | } |
| 72 | 72 | |
| 73 | 73 | /** |