Passed
Push — master ( 09fd65...267017 )
by alpha
02:11
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/ServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
         );
23 23
 
24 24
         $this->app->make('filesystem')
25
-            ->extend('aliyun', function ($app, array $config) {
25
+            ->extend('aliyun', function($app, array $config) {
26 26
                 $client = $app->get(OssClient::class);
27 27
 
28 28
                 $adapter = new AliyunOssAdapter($config, $client);
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
     public function register()
37 37
     {
38
-        $this->app->singleton(OssClient::class, function ($app) {
38
+        $this->app->singleton(OssClient::class, function($app) {
39 39
             $config = $app->get('config')->get('filesystems.disks.aliyun');
40 40
             return new OssClient(
41 41
                 $config['accessId'],
Please login to merge, or discard this patch.