Completed
Push — master ( aa4ba0...efccbe )
by frey
05:03
created
src/Client/Cosapi.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -800,7 +800,7 @@
 block discarded – undo
800 800
      *
801 801
      * @param string $path 待编码路径
802 802
      *
803
-     * @return mixed
803
+     * @return string
804 804
      */
805 805
     private static function cosUrlEncode($path)
806 806
     {
Please login to merge, or discard this patch.
src/Adapter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -259,7 +259,7 @@
 block discarded – undo
259 259
     /**
260 260
      * @param string $path
261 261
      *
262
-     * @return array|bool
262
+     * @return string
263 263
      */
264 264
     public function read($path)
265 265
     {
Please login to merge, or discard this patch.
src/ServiceProvider.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -26,13 +26,13 @@
 block discarded – undo
26 26
         }
27 27
 
28 28
         $this->app->make('filesystem')
29
-                  ->extend('cosv3', function ($app, $config) {
30
-                      $flysystem = new Filesystem(new Adapter($config));
31
-                      $flysystem->addPlugin(new PutRemoteFile());
32
-                      $flysystem->addPlugin(new PutRemoteFileAs());
33
-                      $flysystem->addPlugin(new GetUrl());
34
-                      return $flysystem;
35
-                  });
29
+                    ->extend('cosv3', function ($app, $config) {
30
+                        $flysystem = new Filesystem(new Adapter($config));
31
+                        $flysystem->addPlugin(new PutRemoteFile());
32
+                        $flysystem->addPlugin(new PutRemoteFileAs());
33
+                        $flysystem->addPlugin(new GetUrl());
34
+                        return $flysystem;
35
+                    });
36 36
     }
37 37
 
38 38
     /**
Please login to merge, or discard this patch.