We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 955a80f commit 0f42d40Copy full SHA for 0f42d40
wordpress-objects/Clarkson_Object.php
@@ -651,8 +651,7 @@ public function has_term( $term ) {
651
*
652
* We can't just return $this->_post, because these values will only return raw unfiltered data.
653
*/
654
- #[\ReturnTypeWillChange]
655
- public function jsonSerialize() {
+ public function jsonSerialize(): mixed {
656
$data['id'] = $this->get_id();
657
$data['link'] = $this->get_permalink();
658
$data['slug'] = $this->get_post_name();
0 commit comments