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.
1 parent d030116 commit de97842Copy full SHA for de97842
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