@@ -320,7 +320,7 @@ discard block |
||
320 | 320 | */ |
321 | 321 | public function listContents($directory = '', $recursive = false) |
322 | 322 | { |
323 | - $prefix = $this->applyPathPrefix(rtrim($directory, '/') . '/'); |
|
323 | + $prefix = $this->applyPathPrefix(rtrim($directory, '/').'/'); |
|
324 | 324 | |
325 | 325 | $options = [ |
326 | 326 | OssClient::OSS_PREFIX => ltrim($prefix, '/'), |
@@ -549,7 +549,7 @@ discard block |
||
549 | 549 | { |
550 | 550 | $options = $this->options; |
551 | 551 | |
552 | - foreach ((array)$keys as $key) { |
|
552 | + foreach ((array) $keys as $key) { |
|
553 | 553 | if ($value = $config->get($key)) { |
554 | 554 | $options[$key] = $value; |
555 | 555 | } |
@@ -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 |