@@ -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 |
@@ -131,7 +131,7 @@ |
||
131 | 131 | */ |
132 | 132 | protected function buildFormParams(array $values, $key, $action) |
133 | 133 | { |
134 | - $keys = array_map(function ($n) use ($key) { |
|
134 | + $keys = array_map(function($n) use ($key) { |
|
135 | 135 | return sprintf("{$key}.%d", $n); |
136 | 136 | }, range(0, count($values) - 1)); |
137 | 137 |
@@ -273,7 +273,7 @@ discard block |
||
273 | 273 | return true; |
274 | 274 | } |
275 | 275 | |
276 | - $keys = array_filter((array) $response['Contents'], function ($item) { |
|
276 | + $keys = array_filter((array) $response['Contents'], function($item) { |
|
277 | 277 | if ($isDir = substr($item['Key'], -1) === '/') { |
278 | 278 | $this->delete($item['Key']); |
279 | 279 | } |
@@ -284,7 +284,7 @@ discard block |
||
284 | 284 | return true; |
285 | 285 | } |
286 | 286 | |
287 | - $keys = array_map(function ($item) { |
|
287 | + $keys = array_map(function($item) { |
|
288 | 288 | return ['Key' => $item['Key']]; |
289 | 289 | }, $keys); |
290 | 290 |