@@ -36,13 +36,13 @@ |
||
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | $this->app->make('filesystem') |
| 39 | - ->extend('cosv4', function ($app, $config) { |
|
| 40 | - return new Filesystem(new Adapter($config)); |
|
| 41 | - }) |
|
| 42 | - ->disk('cosv4') |
|
| 43 | - ->addPlugin(new PutRemoteFile()) |
|
| 44 | - ->addPlugin(new PutRemoteFileAs()) |
|
| 45 | - ->addPlugin(new GetUrl()); |
|
| 39 | + ->extend('cosv4', function ($app, $config) { |
|
| 40 | + return new Filesystem(new Adapter($config)); |
|
| 41 | + }) |
|
| 42 | + ->disk('cosv4') |
|
| 43 | + ->addPlugin(new PutRemoteFile()) |
|
| 44 | + ->addPlugin(new PutRemoteFileAs()) |
|
| 45 | + ->addPlugin(new GetUrl()); |
|
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | */ |
| 24 | 24 | public function boot() |
| 25 | 25 | { |
| 26 | - $source = realpath(__DIR__ . '/filesystems.php'); |
|
| 26 | + $source = realpath(__DIR__.'/filesystems.php'); |
|
| 27 | 27 | |
| 28 | 28 | if ($this->app instanceof LaravelApplication) { |
| 29 | 29 | if ($this->app->runningInConsole()) { |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | $this->app->make('filesystem') |
| 39 | - ->extend('cosv4', function ($app, $config) { |
|
| 39 | + ->extend('cosv4', function($app, $config) { |
|
| 40 | 40 | return new Filesystem(new Adapter($config)); |
| 41 | 41 | }) |
| 42 | 42 | ->disk('cosv4') |