aboutsummaryrefslogtreecommitdiffhomepage
path: root/Digitigrade/Notification/Notifyable.php
diff options
context:
space:
mode:
authorwinter2025-01-23 18:55:52 +0000
committerwinter2025-01-23 18:55:58 +0000
commitbc9c83b6c33d460a574fbeb764c23bfbe941b4c0 (patch)
tree5d9e816b56feea462d15e391544b0b13eeb47c8d /Digitigrade/Notification/Notifyable.php
parentddccaf16f39a4bf710266edc389fcde124e7ef56 (diff)
implement blocking users
it doesn't work yet for notifications! but i think i got it in most other places
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;