From aa013a5c49337990ddc6c33215b8ca895a3a4f2f 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/DashboardBoard.php | 2 +- Models/DashboardComponent.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Models/DashboardBoard.php b/Models/DashboardBoard.php index 2bc064f..8d348d8 100755 --- a/Models/DashboardBoard.php +++ b/Models/DashboardBoard.php @@ -205,7 +205,7 @@ class DashboardBoard implements \JsonSerializable /** * {@inheritdoc} */ - public function jsonSerialize() + public function jsonSerialize() : mixed { return $this->toArray(); } diff --git a/Models/DashboardComponent.php b/Models/DashboardComponent.php index 6947418..a2a43f5 100755 --- a/Models/DashboardComponent.php +++ b/Models/DashboardComponent.php @@ -93,7 +93,7 @@ class DashboardComponent implements \JsonSerializable /** * {@inheritdoc} */ - public function jsonSerialize() + public function jsonSerialize() : mixed { return $this->toArray(); }