mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-24 02:38:50 +02:00
Fixed some deprecation notices.
This commit is contained in:
parent
2fc44c91e6
commit
d9d7e09866
4 changed files with 4 additions and 4 deletions
|
@ -87,7 +87,7 @@ abstract class AbstractDBElement implements \JsonSerializable
|
|||
return $this->id;
|
||||
}
|
||||
|
||||
public function jsonSerialize()
|
||||
public function jsonSerialize(): array
|
||||
{
|
||||
return ['@id' => $this->getID()];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue