Passed
Pull Request — master (#8)
by Robert
02:12 queued 30s
created
src/QiniuAdapter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
      */
228 228
     public function getUrl($path)
229 229
     {
230
-        return $this->normalizeHost($this->domain) . $path;
230
+        return $this->normalizeHost($this->domain).$path;
231 231
     }
232 232
 
233 233
     /**
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
     public function readStream($path)
255 255
     {
256 256
         if (ini_get('allow_url_fopen')) {
257
-            $stream = fopen($this->normalizeHost($this->domain) . $path, 'r');
257
+            $stream = fopen($this->normalizeHost($this->domain).$path, 'r');
258 258
 
259 259
             return compact('stream', 'path');
260 260
         }
@@ -445,6 +445,6 @@  discard block
 block discarded – undo
445 445
             $domain = "http://{$domain}";
446 446
         }
447 447
 
448
-        return rtrim($domain, '/') . '/';
448
+        return rtrim($domain, '/').'/';
449 449
     }
450 450
 }
Please login to merge, or discard this patch.