diff --git a/src/WordPress_Object/Clarkson_Object.php b/src/WordPress_Object/Clarkson_Object.php index 3a58a01..8271ae0 100644 --- a/src/WordPress_Object/Clarkson_Object.php +++ b/src/WordPress_Object/Clarkson_Object.php @@ -626,7 +626,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. */ - public function jsonSerialize() { + public function jsonSerialize(): mixed { $data = array(); $data['id'] = $this->get_id(); $data['link'] = $this->get_permalink();