diff --git a/src/CosAdapter.php b/src/CosAdapter.php index 9ed2cc8..ed7c75b 100644 --- a/src/CosAdapter.php +++ b/src/CosAdapter.php @@ -421,7 +421,7 @@ public function getMetadata($path) return $this->getClient()->headObject([ 'Bucket' => $this->getBucket(), 'Key' => $path, - ])->toArray(); + ]); } /**