@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | ); |
26 | 26 | |
27 | 27 | $this->app->make('filesystem') |
28 | - ->extend('aliyun', function ($app, array $config) { |
|
28 | + ->extend('aliyun', function($app, array $config) { |
|
29 | 29 | return $app->make('aliyun-oss.oss-filesystem', $config); |
30 | 30 | }); |
31 | 31 | } |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | */ |
36 | 36 | public function register() |
37 | 37 | { |
38 | - $this->app->bind('aliyun-oss.oss-client', function ($app, array $config) { |
|
38 | + $this->app->bind('aliyun-oss.oss-client', function($app, array $config) { |
|
39 | 39 | $ossConfig = new Config($config); |
40 | 40 | |
41 | 41 | $client = $app->make(OssClient::class, $ossConfig->getOssClientParameters()); |
@@ -44,13 +44,13 @@ discard block |
||
44 | 44 | }); |
45 | 45 | |
46 | 46 | |
47 | - $this->app->bind('aliyun-oss.oss-adapter', function ($app, array $config) { |
|
47 | + $this->app->bind('aliyun-oss.oss-adapter', function($app, array $config) { |
|
48 | 48 | $client = $app->make('aliyun-oss.oss-client', $config); |
49 | 49 | |
50 | 50 | return new Adapter($client, new Config($config)); |
51 | 51 | }); |
52 | 52 | |
53 | - $this->app->bind('aliyun-oss.oss-filesystem', function ($app, array $config) { |
|
53 | + $this->app->bind('aliyun-oss.oss-filesystem', function($app, array $config) { |
|
54 | 54 | $adapter = $app->make('aliyun-oss.oss-adapter', $config); |
55 | 55 | |
56 | 56 | $filesystem = new Filesystem($adapter, new FlysystemConfig(['disable_asserts' => true])); |