Skip to content

Commit a879032

Browse files
committed
Merge remote-tracking branch 'origin/gg-serialisation-fix' into gg-mapzen-provider
2 parents aa6bd20 + e61c9eb commit a879032

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Geocoder/Tests/CachedResponseClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function sendRequest(RequestInterface $request)
4444
$response = $this->delegate->sendRequest($request);
4545

4646
if ($this->useCache) {
47-
file_put_contents($file, $response->getBody()->getContents());
47+
file_put_contents($file, serialize($response->getBody()->getContents()));
4848
}
4949

5050
return $response;

0 commit comments

Comments
 (0)