From c93483b4bbdab081e39b17e8325e471abc04d918 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanislav=20Janu=CC=8A?= Date: Fri, 27 Oct 2023 14:16:34 +0200 Subject: [PATCH] Temporarily fix deprecation: Return type of SmartEmailing\v3\Models\AbstractHolder::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed --- src/Models/AbstractHolder.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Models/AbstractHolder.php b/src/Models/AbstractHolder.php index 4cd0edf..beb9aee 100644 --- a/src/Models/AbstractHolder.php +++ b/src/Models/AbstractHolder.php @@ -52,6 +52,7 @@ public function toArray(): array /** * @return TEntry[] */ + #[\ReturnTypeWillChange] public function jsonSerialize(): array { return $this->toArray();