fixed php 8.1 type bugs

This commit is contained in:
Dennis Eichhorn 2022-03-22 17:34:58 +01:00
parent 9761e31ac5
commit d3515890f1

View File

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