From 8067a2d34dbc4f8a4024787cf65c918e1cd3b96b Mon Sep 17 00:00:00 2001 From: Menno van den Ende <50165380+menno-ll@users.noreply.github.com> Date: Mon, 20 Nov 2023 10:43:54 +0100 Subject: [PATCH] Revert #263 --- src/WordPress_Object/Clarkson_Object.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WordPress_Object/Clarkson_Object.php b/src/WordPress_Object/Clarkson_Object.php index a277672..cc50ceb 100644 --- a/src/WordPress_Object/Clarkson_Object.php +++ b/src/WordPress_Object/Clarkson_Object.php @@ -627,7 +627,7 @@ public function get_comments( array $args = array() ): array { * We can't just return $this->_post, because these values will only return raw unfiltered data. */ #[\ReturnTypeWillChange] - public function jsonSerialize(): mixed { + public function jsonSerialize() { $data = array(); $data['id'] = $this->get_id(); $data['link'] = $this->get_permalink();