Passed
Push — master ( e1a506...99721f )
by alpha
02:00
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
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
          * @var \Illuminate\Filesystem\FilesystemManager $filesystem
26 26
          */
27 27
         $filesystem = $this->app->make('filesystem');
28
-        $filesystem->extend('aliyun', function ($app, array $config) {
28
+        $filesystem->extend('aliyun', function($app, array $config) {
29 29
             $client = $this->makeOssClient($app, $config);
30 30
             $adapter = new AliyunOssAdapter($client, $config);
31 31
             $filesystem = new Filesystem($adapter, new Config(['disable_asserts' => true]));
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
 
53 53
     public function register()
54 54
     {
55
-        $this->app->singleton('aliyun-oss.client', function ($app) {
55
+        $this->app->singleton('aliyun-oss.client', function($app) {
56 56
             $config = $app->get('config')->get('filesystems.disks.aliyun');
57 57
             return $this->makeOssClient($app, $config);
58 58
         });
Please login to merge, or discard this patch.