@@ -321,7 +321,7 @@ discard block |
||
| 321 | 321 | */ |
| 322 | 322 | public function listContents($directory = '', $recursive = false) |
| 323 | 323 | { |
| 324 | - $prefix = $this->applyPathPrefix(rtrim($directory, '/') . '/'); |
|
| 324 | + $prefix = $this->applyPathPrefix(rtrim($directory, '/').'/'); |
|
| 325 | 325 | |
| 326 | 326 | try { |
| 327 | 327 | list($response, $path) = $this->retrieveListing([ |
@@ -551,7 +551,7 @@ discard block |
||
| 551 | 551 | { |
| 552 | 552 | $options = $this->options; |
| 553 | 553 | |
| 554 | - foreach ((array)$keys as $key) { |
|
| 554 | + foreach ((array) $keys as $key) { |
|
| 555 | 555 | if ($value = $config->get($key)) { |
| 556 | 556 | $options[$key] = $value; |
| 557 | 557 | } |
@@ -599,7 +599,7 @@ discard block |
||
| 599 | 599 | // Do a prefix listing of objects to determine. |
| 600 | 600 | try { |
| 601 | 601 | $result = $this->ossClient->listObjects($this->bucket, [ |
| 602 | - OssClient::OSS_PREFIX => rtrim($location, '/') . '/', |
|
| 602 | + OssClient::OSS_PREFIX => rtrim($location, '/').'/', |
|
| 603 | 603 | OssClient::OSS_MAX_KEYS => 1, |
| 604 | 604 | ]); |
| 605 | 605 | |