Skip to content

Commit

Permalink
Using JSON_BIGINT_AS_STRING as bitmask to prevent large integers conv…
Browse files Browse the repository at this point in the history
…ertion to float type

Issue reference #63
  • Loading branch information
Edujugon committed Nov 6, 2018
1 parent e9750f4 commit 1228958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Gcm.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public function send(array $deviceTokens, array $message)

$json = $result->getBody();

$this->setFeedback(json_decode($json));
$this->setFeedback(json_decode($json , false , 512 , JSON_BIGINT_AS_STRING));

return $this->feedback;

Expand Down

0 comments on commit 1228958

Please sign in to comment.