Test Failed
Pull Request — master (#11)
by Tristan
05:39 queued 22s
created
src/LoLApi/ApiClient.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -290,10 +290,10 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/LoLApi/Api/BaseApi.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.