mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-03 05:55:16 +01:00
Fixed some deprecation notices.
This commit is contained in:
@@ -87,7 +87,7 @@ abstract class AbstractDBElement implements \JsonSerializable
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
public function jsonSerialize()
|
||||
public function jsonSerialize(): array
|
||||
{
|
||||
return ['@id' => $this->getID()];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user