From b314c2c0feaec4c7af6f511c2b3723e952c4df3b 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 --- Interfaces/GSD/Model/GSDCostCenter.php | 2 +- Interfaces/GSD/Model/GSDCostObject.php | 2 +- Models/ExchangeLog.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Interfaces/GSD/Model/GSDCostCenter.php b/Interfaces/GSD/Model/GSDCostCenter.php index ce8cc36..2d884ef 100755 --- a/Interfaces/GSD/Model/GSDCostCenter.php +++ b/Interfaces/GSD/Model/GSDCostCenter.php @@ -141,7 +141,7 @@ class GSDCostCenter implements \JsonSerializable /** * {@inheritdoc} */ - public function jsonSerialize() + public function jsonSerialize() : mixed { return $this->toArray(); } diff --git a/Interfaces/GSD/Model/GSDCostObject.php b/Interfaces/GSD/Model/GSDCostObject.php index 04f8cc0..8c61f34 100755 --- a/Interfaces/GSD/Model/GSDCostObject.php +++ b/Interfaces/GSD/Model/GSDCostObject.php @@ -141,7 +141,7 @@ class GSDCostObject implements \JsonSerializable /** * {@inheritdoc} */ - public function jsonSerialize() + public function jsonSerialize() : mixed { return $this->toArray(); } diff --git a/Models/ExchangeLog.php b/Models/ExchangeLog.php index c01e6cc..95df9c9 100755 --- a/Models/ExchangeLog.php +++ b/Models/ExchangeLog.php @@ -184,7 +184,7 @@ class ExchangeLog implements \JsonSerializable, ArrayableInterface /** * {@inheritdoc} */ - public function jsonSerialize() + public function jsonSerialize() : mixed { return $this->toArray(); }