@@ -355,7 +355,7 @@ |
||
355 | 355 | return $this->client->getUploadToken(collect([ |
356 | 356 | 'expiration' => Carbon::now()->addSeconds($option['ttl'])->timestamp * 1000, |
357 | 357 | 'insertOnly' => Conf::INSERT_ONLY_TRUE |
358 | - ])->merge(collect($option)->except(['ttl',]))); |
|
358 | + ])->merge(collect($option)->except(['ttl', ]))); |
|
359 | 359 | } |
360 | 360 | |
361 | 361 | /** |
@@ -12,7 +12,7 @@ |
||
12 | 12 | { |
13 | 13 | public function register() |
14 | 14 | { |
15 | - app('filesystem')->extend('wantu', function ($app, $config) { |
|
15 | + app('filesystem')->extend('wantu', function($app, $config) { |
|
16 | 16 | $adapter = new WantuFileAdapter( |
17 | 17 | $config['access_key'], |
18 | 18 | $config['secret_key'], |