Completed
Push — master ( 323f82...759fd8 )
by Jelly
01:58
created
src/UpyunAdapter.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -242,7 +242,7 @@
 block discarded – undo
242 242
     }
243 243
 
244 244
     /**
245
-     * @param $path
245
+     * @param string $path
246 246
      * @return string
247 247
      */
248 248
     public function getUrl($path)
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      */
98 98
     public function rename($path, $newpath)
99 99
     {
100
-        $this->copy($path,$newpath);
100
+        $this->copy($path, $newpath);
101 101
         return $this->delete($path);
102 102
     }
103 103
 
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
     public function listContents($directory = '', $recursive = false)
179 179
     {
180 180
         $list = [];
181
-        $result = $this->client()->read($directory, null, [ 'X-List-Limit' => 100, 'X-List-Iter' => null]);
181
+        $result = $this->client()->read($directory, null, ['X-List-Limit' => 100, 'X-List-Iter' => null]);
182 182
         foreach ($result['files'] as $files) {
183 183
             $list[] = $this->normalizeFileInfo($files);
184 184
         }
Please login to merge, or discard this patch.
src/UpyunServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,10 +15,10 @@
 block discarded – undo
15 15
      */
16 16
     public function boot()
17 17
     {
18
-        Storage::extend('upyun', function ($app, $config) {
18
+        Storage::extend('upyun', function($app, $config) {
19 19
             $adapter = new UpyunAdapter(
20 20
                 $config['bucket'], $config['operator'],
21
-                $config['password'],$config['domain']
21
+                $config['password'], $config['domain']
22 22
             );
23 23
             return new Filesystem($adapter);
24 24
         });
Please login to merge, or discard this patch.