fixed php 8.1 type bugs

This commit is contained in:
Dennis Eichhorn 2022-03-22 17:34:58 +01:00
parent d0db6e7e2c
commit c0a4cf7ed2

View File

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