We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aa6bd20 + e61c9eb commit a879032Copy full SHA for a879032
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