Skip to content

Commit

Permalink
Update Notification.php
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
rolinger authored Sep 5, 2024
1 parent 3cc9be2 commit adbfdc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Push/Notification.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit adbfdc0

Please sign in to comment.