@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | * @var \Illuminate\Filesystem\FilesystemManager $filesystem |
26 | 26 | */ |
27 | 27 | $filesystem = $this->app->make('filesystem'); |
28 | - $filesystem->extend('aliyun', function ($app, array $config) { |
|
28 | + $filesystem->extend('aliyun', function($app, array $config) { |
|
29 | 29 | $client = $this->makeOssClient($app, $config); |
30 | 30 | $adapter = new AliyunOssAdapter($client, $config); |
31 | 31 | $filesystem = new Filesystem($adapter, new Config(['disable_asserts' => true])); |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | |
53 | 53 | public function register() |
54 | 54 | { |
55 | - $this->app->singleton('aliyun-oss.client', function ($app) { |
|
55 | + $this->app->singleton('aliyun-oss.client', function($app) { |
|
56 | 56 | $config = $app->get('config')->get('filesystems.disks.aliyun'); |
57 | 57 | return $this->makeOssClient($app, $config); |
58 | 58 | }); |