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

View File

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