From cdc2b83cc38b09af0d45ff463eb06e368f65699b 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/Address.php | 2 +- Models/Module.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Models/Address.php b/Models/Address.php index 21fd5a7..2a8d0ce 100755 --- a/Models/Address.php +++ b/Models/Address.php @@ -58,7 +58,7 @@ class Address extends Location /** * {@inheritdoc} */ - public function jsonSerialize() + public function jsonSerialize() : mixed { return $this->toArray(); } diff --git a/Models/Module.php b/Models/Module.php index 20aedc1..55235db 100755 --- a/Models/Module.php +++ b/Models/Module.php @@ -150,7 +150,7 @@ class Module /** * {@inheritdoc} */ - public function jsonSerialize() + public function jsonSerialize() : mixed { return $this->toArray(); }