Completed
Push — master ( 989fd4...c30846 )
by Xu
73:44 queued 33:19
created
src/base/File.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
         } elseif (!is_writable($directory)) {
85 85
             throw new FileException(sprintf('Unable to write in the "%s" directory', $directory));
86 86
         }
87
-        $target = rtrim($directory, '/\\').DIRECTORY_SEPARATOR.(null === $name ? $this->getBasename() : $this->getName($name));
87
+        $target = rtrim($directory, '/\\') . DIRECTORY_SEPARATOR . (null === $name ? $this->getBasename() : $this->getName($name));
88 88
         return new self($target, false);
89 89
     }
90 90
 
Please login to merge, or discard this patch.
src/filesystem/adapters/OssAdapter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -305,9 +305,9 @@
 block discarded – undo
305 305
             throw new RuntimeException('This object does not support retrieving URLs.');
306 306
         }
307 307
         //SDK未提供获取 hostname的公开方法,这里变相获取
308
-        $temporaryUrl = $this->getTemporaryUrl($path,60,[]);
308
+        $temporaryUrl = $this->getTemporaryUrl($path, 60, []);
309 309
         $urls = parse_url($temporaryUrl);
310
-        return $urls['scheme'] .'://'. $urls['host'] . $urls['path'];
310
+        return $urls['scheme'] . '://' . $urls['host'] . $urls['path'];
311 311
     }
312 312
 
313 313
     /**
Please login to merge, or discard this patch.