fixed php 8.1 type bugs

This commit is contained in:
Dennis Eichhorn 2022-03-22 17:34:58 +01:00
parent 8ee3aff041
commit aa013a5c49
2 changed files with 2 additions and 2 deletions

View File

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

View File

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