fixed php 8.1 type bugs

This commit is contained in:
Dennis Eichhorn 2022-03-22 17:34:58 +01:00
parent 619ba4e72b
commit 53dd0f351b
2 changed files with 2 additions and 2 deletions

View File

@ -164,7 +164,7 @@ class Tag implements \JsonSerializable, ArrayableInterface
/**
* {@inheritdoc}
*/
public function jsonSerialize()
public function jsonSerialize() : mixed
{
return $this->toArray();
}

View File

@ -126,7 +126,7 @@ class TagL11n implements \JsonSerializable, ArrayableInterface
/**
* {@inheritdoc}
*/
public function jsonSerialize()
public function jsonSerialize() : mixed
{
return $this->toArray();
}