Completed
Push — master ( 2ebc98...bc3338 )
by Jelly
01:59
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   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@
 block discarded – undo
188 188
     public function listContents($directory = '', $recursive = false)
189 189
     {
190 190
         $list = [];
191
-        $result = $this->client()->read($directory, null, [ 'X-List-Limit' => 100, 'X-List-Iter' => null]);
191
+        $result = $this->client()->read($directory, null, ['X-List-Limit' => 100, 'X-List-Iter' => null]);
192 192
         foreach ($result['files'] as $files) {
193 193
             $list[] = $this->normalizeFileInfo($files);
194 194
         }
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.