From bc9c83b6c33d460a574fbeb764c23bfbe941b4c0 Mon Sep 17 00:00:00 2001 From: winter Date: Thu, 23 Jan 2025 18:55:52 +0000 Subject: implement blocking users it doesn't work yet for notifications! but i think i got it in most other places --- Digitigrade/Notification/Notifyable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Digitigrade/Notification/Notifyable.php') 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; -- cgit v1.3