Add doc to override function

This commit is contained in:
Jonathan Flueren 2022-11-06 20:24:33 +01:00 committed by thrillfall
parent 33c5a28250
commit 003781a8c4
1 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,9 @@ class SubscriptionChangeEntity extends Entity implements JsonSerializable {
$this->addType('subscribed','boolean');
}
/**
* @return array<string,mixed>
*/
public function jsonSerialize(): array {
return [
'id' => $this->id,