From 2ae0c2fa2a0bb5a7cd1fd9da1c6d2a6090126e67 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Fri, 19 Sep 2025 14:29:17 +0200 Subject: sending messages creates message event in database --- src/Events/Event.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/Events/Event.php') diff --git a/src/Events/Event.php b/src/Events/Event.php index cab1b14..7dbf242 100644 --- a/src/Events/Event.php +++ b/src/Events/Event.php @@ -11,6 +11,10 @@ abstract class Event ) {} - abstract public function fromJson(string $json): static; + abstract public function fromJson(string $json): self; + + /** + * @return array + */ abstract public function toJsonEncodeable(): array; } -- cgit v1.2.3