From adbfdc05249ec0a53cc0379b1a7fbb8d35b94ad6 Mon Sep 17 00:00:00 2001 From: rolinger Date: Thu, 5 Sep 2024 15:13:08 -0400 Subject: [PATCH] Update Notification.php Line 67 had an invalid '?' at "?string $image_url = null. Removed the '?' public function __construct(string $title = '', string $body = '', string $recipient = '', string $sound = '', string $icon = '', string $color = '', int $badge = 0, string $tag = '', string $subtitle = '', array $data = [], string $click_action = '', ?string $image_url = null) --- src/Push/Notification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Push/Notification.php b/src/Push/Notification.php index 8cc0244..cb924bb 100644 --- a/src/Push/Notification.php +++ b/src/Push/Notification.php @@ -64,7 +64,7 @@ class Notification implements Request * @param string $body * @param string $recipient */ - public function __construct(string $title = '', string $body = '', string $recipient = '', string $sound = '', string $icon = '', string $color = '', int $badge = 0, string $tag = '', string $subtitle = '', array $data = [], string $click_action = '', ?string $image_url = null) + public function __construct(string $title = '', string $body = '', string $recipient = '', string $sound = '', string $icon = '', string $color = '', int $badge = 0, string $tag = '', string $subtitle = '', array $data = [], string $click_action = '', string $image_url = null) { $this->title = $title; $this->body = $body;