@@ -26,13 +26,13 @@ |
||
26 | 26 | } |
27 | 27 | |
28 | 28 | $this->app->make('filesystem') |
29 | - ->extend('cosv3', function ($app, $config) { |
|
30 | - $flysystem = new Filesystem(new Adapter($config)); |
|
31 | - $flysystem->addPlugin(new PutRemoteFile()); |
|
32 | - $flysystem->addPlugin(new PutRemoteFileAs()); |
|
33 | - $flysystem->addPlugin(new GetUrl()); |
|
34 | - return $flysystem; |
|
35 | - }); |
|
29 | + ->extend('cosv3', function ($app, $config) { |
|
30 | + $flysystem = new Filesystem(new Adapter($config)); |
|
31 | + $flysystem->addPlugin(new PutRemoteFile()); |
|
32 | + $flysystem->addPlugin(new PutRemoteFileAs()); |
|
33 | + $flysystem->addPlugin(new GetUrl()); |
|
34 | + return $flysystem; |
|
35 | + }); |
|
36 | 36 | } |
37 | 37 | |
38 | 38 | /** |
@@ -26,7 +26,7 @@ |
||
26 | 26 | } |
27 | 27 | |
28 | 28 | $this->app->make('filesystem') |
29 | - ->extend('cosv3', function ($app, $config) { |
|
29 | + ->extend('cosv3', function($app, $config) { |
|
30 | 30 | $flysystem = new Filesystem(new Adapter($config)); |
31 | 31 | $flysystem->addPlugin(new PutRemoteFile()); |
32 | 32 | $flysystem->addPlugin(new PutRemoteFileAs()); |