fixed php 8.1 type bugs

This commit is contained in:
Dennis Eichhorn 2022-03-22 17:34:58 +01:00
parent 1cc6721c12
commit 2e2c578e14
4 changed files with 4 additions and 4 deletions

View File

@ -76,7 +76,7 @@ class AccountRelation extends RelationAbstract
/**
* {@inheritdoc}
*/
public function jsonSerialize()
public function jsonSerialize() : mixed
{
return $this->toArray();
}

View File

@ -76,7 +76,7 @@ class GroupRelation extends RelationAbstract
/**
* {@inheritdoc}
*/
public function jsonSerialize()
public function jsonSerialize() : mixed
{
return $this->toArray();
}

View File

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

View File

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