@ -25,8 +25,8 @@ class Pusher
public function send(
string $userId,
?string $tag = null,
string $title,
?string $body = null,
?string $picture = null,
?array $actions = [],
@ -21,8 +21,8 @@ $handler = function (ServerRequestInterface $request) use ($pusher) {
return new Promise(function () use ($data, $pusher) {
$pusher->send(
userId: $data->user_id,
tag: $data->tag,
title: $data->title,
body: $data->body,
picture: $data->picture,
actions: $data->actions,