There was an error while loading. Please reload this page.
1 parent aa6bd20 commit 0014c0bCopy full SHA for 0014c0b
tests/Geocoder/Tests/CachedResponseClient.php
@@ -44,7 +44,7 @@ public function sendRequest(RequestInterface $request)
44
$response = $this->delegate->sendRequest($request);
45
46
if ($this->useCache) {
47
- file_put_contents($file, $response->getBody()->getContents());
+ file_put_contents($file, serialize($response->getBody()->getContents()));
48
}
49
50
return $response;
0 commit comments