diff options
| author | winter | 2025-01-23 18:55:52 +0000 |
|---|---|---|
| committer | winter | 2025-01-23 18:55:58 +0000 |
| commit | bc9c83b6c33d460a574fbeb764c23bfbe941b4c0 (patch) | |
| tree | 5d9e816b56feea462d15e391544b0b13eeb47c8d /Digitigrade/Model/Notification.php | |
| parent | ddccaf16f39a4bf710266edc389fcde124e7ef56 (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/Model/Notification.php')
| -rw-r--r-- | Digitigrade/Model/Notification.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Digitigrade/Model/Notification.php b/Digitigrade/Model/Notification.php index ee9d64a..50e9991 100644 --- a/Digitigrade/Model/Notification.php +++ b/Digitigrade/Model/Notification.php @@ -28,7 +28,7 @@ class Notification extends Model { return $notif; } - public function toNotifyable(): Notifyable { + public function toNotifyable(): ?Notifyable { return $this->itemType::fromJsonReference(json_decode($this->itemData)); } |
