Test Setup Failed
Push — master ( d2f13e...1f2826 )
by Carlos
01:50
created
src/QiniuAdapter.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -569,7 +569,7 @@
 block discarded – undo
569 569
      *
570 570
      * @param string $url URL to parse
571 571
      *
572
-     * @return mixed associative array or false if badly formed URL
572
+     * @return boolean associative array or false if badly formed URL
573 573
      *
574 574
      * @see     http://us3.php.net/manual/en/function.parse-url.php
575 575
      * @since   11.1
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -266,9 +266,9 @@  discard block
 block discarded – undo
266 266
     public function getUrl($path)
267 267
     {
268 268
         $segments = $this->parse_url($path);
269
-        $query = empty($segments['query']) ? '' : '?' . $segments['query'];
269
+        $query = empty($segments['query']) ? '' : '?'.$segments['query'];
270 270
 
271
-        return $this->normalizeHost($this->domain) . ltrim(implode('/', array_map('urlencode', explode('/', $segments['path']))), '/') . $query;
271
+        return $this->normalizeHost($this->domain).ltrim(implode('/', array_map('urlencode', explode('/', $segments['path']))), '/').$query;
272 272
     }
273 273
 
274 274
     /**
@@ -561,7 +561,7 @@  discard block
 block discarded – undo
561 561
             $domain = "http://{$domain}";
562 562
         }
563 563
 
564
-        return rtrim($domain, '/') . '/';
564
+        return rtrim($domain, '/').'/';
565 565
     }
566 566
 
567 567
     /**
Please login to merge, or discard this patch.