diff --git a/src/Gaufrette/Adapter/GoogleCloudStorage.php b/src/Gaufrette/Adapter/GoogleCloudStorage.php index 295dcad1..f2a37390 100644 --- a/src/Gaufrette/Adapter/GoogleCloudStorage.php +++ b/src/Gaufrette/Adapter/GoogleCloudStorage.php @@ -126,7 +126,7 @@ public function read($key) if ($response->getStatusCode() == 200) { $this->setMetadata($key, $object->getMetadata()); - return $response->getBody(); + return (string) $response->getBody(); } }