From edd0cc557ee51490daef997162d18b9d521b8ddc Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Thu, 8 Aug 2024 13:51:43 +0200 Subject: [PATCH] Fix php deprecations for jsonSerialize --- Search/Document.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Search/Document.php b/Search/Document.php index 3be5f090..13da80f3 100644 --- a/Search/Document.php +++ b/Search/Document.php @@ -245,6 +245,7 @@ public function hasField($name) return isset($this->fields[$name]); } + #[\ReturnTypeWillChange] public function jsonSerialize() { return [