From 0cefe850d375dfc284489f9b0526efeff9ed0222 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/Client.php | 2 +- Models/ClientAttribute.php | 2 +- Models/ClientAttributeType.php | 2 +- Models/ClientAttributeTypeL11n.php | 2 +- Models/ClientAttributeValue.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Models/Client.php b/Models/Client.php index aac8fc0..6962cae 100755 --- a/Models/Client.php +++ b/Models/Client.php @@ -347,7 +347,7 @@ class Client /** * {@inheritdoc} */ - public function jsonSerialize() + public function jsonSerialize() : mixed { return $this->toArray(); } diff --git a/Models/ClientAttribute.php b/Models/ClientAttribute.php index c3c36e6..aa2bbf9 100755 --- a/Models/ClientAttribute.php +++ b/Models/ClientAttribute.php @@ -97,7 +97,7 @@ class ClientAttribute implements \JsonSerializable, ArrayableInterface /** * {@inheritdoc} */ - public function jsonSerialize() + public function jsonSerialize() : mixed { return $this->toArray(); } diff --git a/Models/ClientAttributeType.php b/Models/ClientAttributeType.php index 71ede2d..540b7ce 100755 --- a/Models/ClientAttributeType.php +++ b/Models/ClientAttributeType.php @@ -153,7 +153,7 @@ class ClientAttributeType implements \JsonSerializable, ArrayableInterface /** * {@inheritdoc} */ - public function jsonSerialize() + public function jsonSerialize() : mixed { return $this->toArray(); } diff --git a/Models/ClientAttributeTypeL11n.php b/Models/ClientAttributeTypeL11n.php index d578a84..6b98843 100755 --- a/Models/ClientAttributeTypeL11n.php +++ b/Models/ClientAttributeTypeL11n.php @@ -129,7 +129,7 @@ class ClientAttributeTypeL11n implements \JsonSerializable, ArrayableInterface /** * {@inheritdoc} */ - public function jsonSerialize() + public function jsonSerialize() : mixed { return $this->toArray(); } diff --git a/Models/ClientAttributeValue.php b/Models/ClientAttributeValue.php index de48bf7..45642de 100755 --- a/Models/ClientAttributeValue.php +++ b/Models/ClientAttributeValue.php @@ -248,7 +248,7 @@ class ClientAttributeValue implements \JsonSerializable, ArrayableInterface /** * {@inheritdoc} */ - public function jsonSerialize() + public function jsonSerialize() : mixed { return $this->toArray(); }