From 321b50ae583f203ce0e47542e52d2c50cb9c874f 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/QAAnswer.php | 2 +- Models/QAApp.php | 2 +- Models/QAQuestion.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Models/QAAnswer.php b/Models/QAAnswer.php index 0cdfc59..c13438b 100755 --- a/Models/QAAnswer.php +++ b/Models/QAAnswer.php @@ -269,7 +269,7 @@ class QAAnswer implements \JsonSerializable /** * {@inheritdoc} */ - public function jsonSerialize() + public function jsonSerialize() : mixed { return $this->toArray(); } diff --git a/Models/QAApp.php b/Models/QAApp.php index 03931f2..0075428 100755 --- a/Models/QAApp.php +++ b/Models/QAApp.php @@ -66,7 +66,7 @@ class QAApp implements \JsonSerializable /** * {@inheritdoc} */ - public function jsonSerialize() + public function jsonSerialize() : mixed { return $this->toArray(); } diff --git a/Models/QAQuestion.php b/Models/QAQuestion.php index 61d8af3..386d16b 100755 --- a/Models/QAQuestion.php +++ b/Models/QAQuestion.php @@ -491,7 +491,7 @@ class QAQuestion implements \JsonSerializable /** * {@inheritdoc} */ - public function jsonSerialize() + public function jsonSerialize() : mixed { return $this->toArray(); }