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 f937284 commit c6fb91dCopy full SHA for c6fb91d
src/Exceptions/CouldNotCreateMessage.php
@@ -4,4 +4,4 @@
4
5
class CouldNotCreateMessage extends \Exception
6
{
7
-}
+}
src/ExpoMessage.php
@@ -143,8 +143,7 @@ public function setJsonData($data)
143
144
if (is_array($data)) {
145
$data = json_encode($data);
146
- }
147
- elseif (is_string($data)) {
+ } elseif (is_string($data)) {
148
@json_decode($data);
149
150
if (json_last_error() !== JSON_ERROR_NONE) {
0 commit comments