Passed
Push — master ( 87b004...d027c5 )
by Luo
01:46
created
src/OssAdapter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -272,7 +272,7 @@  discard block
 block discarded – undo
272 272
      */
273 273
     public function getUrl($path)
274 274
     {
275
-        return $this->normalizeHost() . ltrim($path, '/');
275
+        return $this->normalizeHost().ltrim($path, '/');
276 276
     }
277 277
 
278 278
     /**
@@ -410,14 +410,14 @@  discard block
 block discarded – undo
410 410
         if ($this->isCName) {
411 411
             $domain = $this->endpoint;
412 412
         } else {
413
-            $domain = $this->bucket . '.' . $this->endpoint;
413
+            $domain = $this->bucket.'.'.$this->endpoint;
414 414
         }
415 415
 
416 416
         if (0 !== stripos($domain, 'https://') && 0 !== stripos($domain, 'http://')) {
417 417
             $domain = "http://{$domain}";
418 418
         }
419 419
 
420
-        return rtrim($domain, '/') . '/';
420
+        return rtrim($domain, '/').'/';
421 421
     }
422 422
 
423 423
     /**
Please login to merge, or discard this patch.