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 d030116 + de97842 commit 578e856Copy full SHA for 578e856
src/Fcm.php
@@ -99,7 +99,7 @@ public function send()
99
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
100
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, CURL_IPRESOLVE_V4);
101
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($payloads));
102
- $result = json_decode(curl_exec($ch));
+ $result = json_decode(curl_exec($ch), true);
103
curl_close($ch);
104
105
return $result;
0 commit comments