aboutsummaryrefslogtreecommitdiffhomepage
path: root/Digitigrade/Notification/Notifyable.php
diff options
context:
space:
mode:
authorwinter2025-01-23 18:55:52 +0000
committerwinter2025-01-23 18:55:52 +0000
commitcc7cdfdd5fa49abffb5fd0e852db66bf6fe2cf14 (patch)
tree0f1c0f148c09d572a990bd8317c2f5b135932744 /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;