@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | $this->ensureBucketExists(); |
| 107 | 107 | $options = $this->getOptions( |
| 108 | 108 | $targetKey, |
| 109 | - ['CopySource' => $this->bucket . '/' . $this->computePath($sourceKey)] |
|
| 109 | + ['CopySource' => $this->bucket.'/'.$this->computePath($sourceKey)] |
|
| 110 | 110 | ); |
| 111 | 111 | |
| 112 | 112 | try { |
@@ -247,7 +247,7 @@ discard block |
||
| 247 | 247 | { |
| 248 | 248 | $result = $this->service->listObjectsV2([ |
| 249 | 249 | 'Bucket' => $this->bucket, |
| 250 | - 'Prefix' => rtrim($this->computePath($key), '/') . '/', |
|
| 250 | + 'Prefix' => rtrim($this->computePath($key), '/').'/', |
|
| 251 | 251 | 'MaxKeys' => 1, |
| 252 | 252 | ]); |
| 253 | 253 | |
@@ -257,11 +257,11 @@ |
||
| 257 | 257 | $key = !empty($parts['path']) ? substr($parts['path'], 1) : ''; |
| 258 | 258 | |
| 259 | 259 | if (null !== $parts['query']) { |
| 260 | - $key .= '?' . $parts['query']; |
|
| 260 | + $key .= '?'.$parts['query']; |
|
| 261 | 261 | } |
| 262 | 262 | |
| 263 | 263 | if (null !== $parts['fragment']) { |
| 264 | - $key .= '#' . $parts['fragment']; |
|
| 264 | + $key .= '#'.$parts['fragment']; |
|
| 265 | 265 | } |
| 266 | 266 | |
| 267 | 267 | if (empty($domain) || empty($key)) { |
@@ -186,7 +186,7 @@ |
||
| 186 | 186 | return [ |
| 187 | 187 | 'dirs' => [], |
| 188 | 188 | 'keys' => array_map( |
| 189 | - function ($value) { |
|
| 189 | + function($value) { |
|
| 190 | 190 | return $value['_key']; |
| 191 | 191 | }, |
| 192 | 192 | $keys |