fixed php 8.1 type bugs

This commit is contained in:
Dennis Eichhorn 2022-03-22 17:34:58 +01:00
parent 351cfcbc03
commit 83c2148a55
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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