Unverified Commit 5874f841 authored by Richard Weinhold's avatar Richard Weinhold Committed by GitHub
Browse files

Merge pull request #1 from mackrais-organization/master

Fixed small bugs
parents caeae164 c20bc635
......@@ -18,7 +18,7 @@ abstract class Handler
* @var string[]
*/
protected array $devices = [];
protected ?string $caCertPath;
protected ?string $caCertPath = null;
protected function setCaCertPath(?string $caCertPath): void
{
......
......@@ -44,7 +44,7 @@ class FCM extends Handler
$payload = [
'notification' => [
'title' => $message->getTitle() ?? (strlen($body) > 64 ? substr($body, 0, 61) . '...' : $body),
'body' => $message,
'body' => $body,
],
'data' => array_merge([
'message' => $message,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment