Passed
Branch master (606a86)
by alpha
12:19
created
src/AliyunOssAdapter.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
      * @param string $path
74 74
      * @param \DateTimeInterface $expiration
75 75
      * @param array $options
76
-     * @return string
76
+     * @return \OSS\Http\ResponseCore
77 77
      *
78 78
      * @throws \RuntimeException
79 79
      */
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,10 +59,10 @@
 block discarded – undo
59 59
         if ($this->config['isCname']) {
60 60
             $url .= $this->config['cdnDomain'];
61 61
         } else {
62
-            $url .= $this->config['bucket'] . '.' . $this->config['endpoint'];
62
+            $url .= $this->config['bucket'].'.'.$this->config['endpoint'];
63 63
         }
64 64
 
65
-        $url .= '/' . ltrim($path, '/');
65
+        $url .= '/'.ltrim($path, '/');
66 66
         return $url;
67 67
     }
68 68
 
Please login to merge, or discard this patch.
src/AliyunOssService.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
     public function register()
34 34
     {
35
-        $this->app->bind(AliyunOssDriver::class, function () {
35
+        $this->app->bind(AliyunOssDriver::class, function() {
36 36
             $cache = $this->app->get(Cache::class);
37 37
             $config = $this->app->get('config')->get('filesystem.disks.aliyun');
38 38
             $driver = new AliyunOssDriver($cache, $config);
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
         });
41 41
         $this->app->bind('aliyun-oss.driver', AliyunOssDriver::class);
42 42
 
43
-        $this->app->bind('aliyun-oss.filesystem', function () {
43
+        $this->app->bind('aliyun-oss.filesystem', function() {
44 44
             $adapter = $this->app->get('aliyun-oss.adapter');
45 45
 
46 46
             $filesystem = new Filesystem($adapter, new Config(['disable_asserts' => true]));
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
             return $filesystem;
50 50
         });
51 51
 
52
-        $this->app->bind('aliyun-oss.adapter', function () {
52
+        $this->app->bind('aliyun-oss.adapter', function() {
53 53
             $config = $this->app->get('config')->get('filesystem.disks.aliyun');
54 54
             $client = $this->app->get(OssClient::class);
55 55
 
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
             return $adapter;
59 59
         });
60 60
 
61
-        $this->app->bind(OssClient::class, function () {
61
+        $this->app->bind(OssClient::class, function() {
62 62
             $config = $this->app->get('config')->get('filesystem.disks.aliyun');
63 63
             return new OssClient(
64 64
                 $config['accessId'],
Please login to merge, or discard this patch.