@@ -67,7 +67,7 @@ |
||
| 67 | 67 | |
| 68 | 68 | public function performSendingRequest() |
| 69 | 69 | { |
| 70 | - for (; ;) { |
|
| 70 | + for (;;) { |
|
| 71 | 71 | $active = null; |
| 72 | 72 | |
| 73 | 73 | $mrc = $this->doCurlMulti(); |
@@ -400,7 +400,7 @@ |
||
| 400 | 400 | file_put_contents($temporaryPath, $content); |
| 401 | 401 | |
| 402 | 402 | // The file is automatically removed when closed, or when the script ends. |
| 403 | - register_shutdown_function(function () use ($temporaryPath) { |
|
| 403 | + register_shutdown_function(function() use ($temporaryPath) { |
|
| 404 | 404 | unlink($temporaryPath); |
| 405 | 405 | }); |
| 406 | 406 | |
@@ -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 | /** |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | } |
| 36 | 36 | |
| 37 | 37 | $this->app->make('filesystem') |
| 38 | - ->extend('cosv4', function ($app, $config) { |
|
| 38 | + ->extend('cosv4', function($app, $config) { |
|
| 39 | 39 | return new Filesystem(new Adapter($config)); |
| 40 | 40 | }) |
| 41 | 41 | ->disk('cosv4') |