From 003781a8c434408c0ce1a8878781dc35bea480e8 Mon Sep 17 00:00:00 2001 From: Jonathan Flueren <11487762+JonOfUs@users.noreply.github.com> Date: Sun, 6 Nov 2022 20:24:33 +0100 Subject: [PATCH] Add doc to override function --- lib/Db/SubscriptionChange/SubscriptionChangeEntity.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Db/SubscriptionChange/SubscriptionChangeEntity.php b/lib/Db/SubscriptionChange/SubscriptionChangeEntity.php index 95ea037..2e431d4 100644 --- a/lib/Db/SubscriptionChange/SubscriptionChangeEntity.php +++ b/lib/Db/SubscriptionChange/SubscriptionChangeEntity.php @@ -18,6 +18,9 @@ class SubscriptionChangeEntity extends Entity implements JsonSerializable { $this->addType('subscribed','boolean'); } + /** + * @return array + */ public function jsonSerialize(): array { return [ 'id' => $this->id,