Test Failed
Branch master (4cc9a1)
by Jim
03:38
created
Category
src/AliyunOssAdapter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -321,7 +321,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.