Fixed some deprecation notices.

This commit is contained in:
Jan Böhmer 2022-07-23 22:21:29 +02:00
parent 2fc44c91e6
commit d9d7e09866
4 changed files with 4 additions and 4 deletions

View file

@ -87,7 +87,7 @@ abstract class AbstractDBElement implements \JsonSerializable
return $this->id;
}
public function jsonSerialize()
public function jsonSerialize(): array
{
return ['@id' => $this->getID()];
}