diff --git a/src/Fcm.php b/src/Fcm.php index f315c9d..02c8c07 100644 --- a/src/Fcm.php +++ b/src/Fcm.php @@ -24,28 +24,28 @@ public function __construct($serverKey) $this->serverKey = $serverKey; } - public function to(array $recipients) + public function to($recipients) { $this->recipients = $recipients; return $this; } - public function toTopic(string $topic) + public function toTopic($topic) { $this->topic = $topic; return $this; } - public function data(array $data = []) + public function data($data = []) { $this->data = $data; return $this; } - public function notification(array $notification = []) + public function notification($notification = []) { $this->notification = $notification; @@ -59,7 +59,7 @@ public function priority(string $priority) return $this; } - public function timeToLive(int $timeToLive) + public function timeToLive($timeToLive) { if ($timeToLive < 0) { $timeToLive = 0; // (0 seconds)