From e5f3c7175933e39131fcb2090884144d3ebf7f3e Mon Sep 17 00:00:00 2001 From: overtrue Date: Tue, 10 Sep 2019 16:46:52 +0800 Subject: [PATCH] CS. --- src/CosAdapter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); + ]); } /**