@@ -29,7 +29,7 @@ |
||
29 | 29 | } |
30 | 30 | |
31 | 31 | $this->app->make('filesystem') |
32 | - ->extend('cosv5', function ($app, $config) { |
|
32 | + ->extend('cosv5', function($app, $config) { |
|
33 | 33 | $client = new Client($config); |
34 | 34 | $flysystem = new Filesystem(new Adapter($client, $config), $config); |
35 | 35 |
@@ -88,7 +88,7 @@ |
||
88 | 88 | */ |
89 | 89 | protected function buildFormParams(array $values, $key, $action) |
90 | 90 | { |
91 | - $keys = array_map(function ($n) use ($key) { |
|
91 | + $keys = array_map(function($n) use ($key) { |
|
92 | 92 | return sprintf("$key.%d", $n); |
93 | 93 | }, range(0, count($values) - 1)); |
94 | 94 |
@@ -263,7 +263,7 @@ discard block |
||
263 | 263 | return true; |
264 | 264 | } |
265 | 265 | |
266 | - $keys = array_map(function ($item) { |
|
266 | + $keys = array_map(function($item) { |
|
267 | 267 | return ['Key' => $item['Key']]; |
268 | 268 | }, (array) $response['Contents']); |
269 | 269 | |
@@ -337,7 +337,7 @@ discard block |
||
337 | 337 | ])->/** @scrutinizer ignore-call */ get('Body'); |
338 | 338 | } |
339 | 339 | |
340 | - return ['contents' => (string)$response]; |
|
340 | + return ['contents' => (string) $response]; |
|
341 | 341 | } catch (NoSuchKeyException $e) { |
342 | 342 | return false; |
343 | 343 | } catch (\GuzzleHttp\Exception\ClientException $e) { |