@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | ); |
23 | 23 | |
24 | 24 | $this->app->make('filesystem') |
25 | - ->extend('aliyun', function ($app, array $config) { |
|
25 | + ->extend('aliyun', function($app, array $config) { |
|
26 | 26 | $client = $app->get(OssClient::class); |
27 | 27 | |
28 | 28 | $adapter = new AliyunOssAdapter($config, $client); |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | |
36 | 36 | public function register() |
37 | 37 | { |
38 | - $this->app->singleton(OssClient::class, function ($app) { |
|
38 | + $this->app->singleton(OssClient::class, function($app) { |
|
39 | 39 | $config = $app->get('config')->get('filesystems.disks.aliyun'); |
40 | 40 | return new OssClient( |
41 | 41 | $config['accessId'], |