aboutsummaryrefslogtreecommitdiffhomepage
path: root/Digitigrade/Notification/Notifyable.php
diff options
context:
space:
mode:
Diffstat (limited to 'Digitigrade/Notification/Notifyable.php')
-rw-r--r--Digitigrade/Notification/Notifyable.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Digitigrade/Notification/Notifyable.php b/Digitigrade/Notification/Notifyable.php
index 510437e..7a7826f 100644
--- a/Digitigrade/Notification/Notifyable.php
+++ b/Digitigrade/Notification/Notifyable.php
@@ -3,7 +3,7 @@ namespace Digitigrade\Notification;
interface Notifyable {
public function toJsonReference(): mixed;
- public static function fromJsonReference(mixed $reference): self;
+ public static function fromJsonReference(mixed $reference): ?self;
public function getNotificationTitle(): string;
public function getNotificationTitleLink(): ?string;
public function getNotificationBody(): ?string;