From 83c2148a55aad384e0db25302175af6373e92b66 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 22 Mar 2022 17:34:58 +0100 Subject: [PATCH] fixed php 8.1 type bugs --- Models/Calendar.php | 2 +- Models/Event.php | 2 +- Models/Schedule.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Models/Calendar.php b/Models/Calendar.php index 660f932..b112359 100755 --- a/Models/Calendar.php +++ b/Models/Calendar.php @@ -210,7 +210,7 @@ class Calendar /** * {@inheritdoc} */ - public function jsonSerialize() + public function jsonSerialize() : mixed { return $this->toArray(); } diff --git a/Models/Event.php b/Models/Event.php index b1c1b22..3e6c091 100755 --- a/Models/Event.php +++ b/Models/Event.php @@ -373,7 +373,7 @@ class Event /** * {@inheritdoc} */ - public function jsonSerialize() + public function jsonSerialize() : mixed { return $this->toArray(); } diff --git a/Models/Schedule.php b/Models/Schedule.php index 640ddbb..53b295c 100755 --- a/Models/Schedule.php +++ b/Models/Schedule.php @@ -318,7 +318,7 @@ class Schedule /** * {@inheritdoc} */ - public function jsonSerialize() + public function jsonSerialize() : mixed { return $this->toArray(); }