Skip to content

Commit e5d1b28

Browse files
author
Joris van de Sande
committed
Merge pull request #9 from gnoesiboe/master
Removed json_decode flag JSON_BIGINT_AS_STRING
2 parents b0efc13 + ccb1009 commit e5d1b28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/FH/PostcodeAPI/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ private function get($path, array $queryParams = array())
104104
*/
105105
private function parseResponse(ResponseInterface $response)
106106
{
107-
$out = json_decode((string) $response->getBody(), false, 512, JSON_BIGINT_AS_STRING);
107+
$out = json_decode((string) $response->getBody());
108108

109109
if (json_last_error() !== JSON_ERROR_NONE) {
110110
throw new CouldNotParseResponseException('Could not parse resonse', $response);

0 commit comments

Comments
 (0)