Skip to content

Commit 566820f

Browse files
committed
Fix bug in default value for jsonData
1 parent f617710 commit 566820f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ExpoMessage.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class ExpoMessage
4747
*
4848
* @var string
4949
*/
50-
protected $jsonData = '';
50+
protected $jsonData = '{}';
5151

5252
/**
5353
* Create a message with given body.
@@ -147,6 +147,7 @@ public function setTtl(int $ttl)
147147
public function setChannelId(string $channelId)
148148
{
149149
$this->channelId = $channelId;
150+
150151
return $this;
151152
}
152153

0 commit comments

Comments
 (0)