From 53dd0f351b41f98a959c029e12c116c713718e27 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/Tag.php | 2 +- Models/TagL11n.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Models/Tag.php b/Models/Tag.php index 1678e0d..fa34374 100755 --- a/Models/Tag.php +++ b/Models/Tag.php @@ -164,7 +164,7 @@ class Tag implements \JsonSerializable, ArrayableInterface /** * {@inheritdoc} */ - public function jsonSerialize() + public function jsonSerialize() : mixed { return $this->toArray(); } diff --git a/Models/TagL11n.php b/Models/TagL11n.php index b7ef869..34c21c4 100755 --- a/Models/TagL11n.php +++ b/Models/TagL11n.php @@ -126,7 +126,7 @@ class TagL11n implements \JsonSerializable, ArrayableInterface /** * {@inheritdoc} */ - public function jsonSerialize() + public function jsonSerialize() : mixed { return $this->toArray(); }