Improved cache reading
This commit is contained in:
1 parent
58585a6875
commit
5f5a31df68
1 file changed
+1
-1
@@ -146,7 +146,7 @@ class ObjectRetriever implements CustomCacheAndLogInterface {
|
||||
return null;
|
||||
}
|
||||
|
||||
return $cachedData->getOriginalResponse()->getBody()->getContents();
|
||||
return (string)$cachedData->getResponse()->getBody(true);
|
||||
}
|
||||
|
||||
private function putIntoCache($id, $data, $ttl) {
|
||||
|
||||
Reference in new issue
Block a user