From c5f8021f863d3f027d99b0a516e1ffc43a1fa2a5 Mon Sep 17 00:00:00 2001
From: jrfnl <jrfnl@users.noreply.github.com>
Date: Tue, 20 Jul 2021 19:19:18 +0200
Subject: [PATCH] PHP 8.1: silence deprecation warning about missing return
 type

---
 tests/phpunit/includes/class-jsonserializable-object.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/phpunit/includes/class-jsonserializable-object.php b/tests/phpunit/includes/class-jsonserializable-object.php
index eb4ae5c3af..e235327020 100644
--- a/tests/phpunit/includes/class-jsonserializable-object.php
+++ b/tests/phpunit/includes/class-jsonserializable-object.php
@@ -15,6 +15,7 @@ class JsonSerializable_Object implements JsonSerializable {
 		$this->data = $data;
 	}
 
+	#[ReturnTypeWillChange]
 	public function jsonSerialize() {
 		return $this->data;
 	}
-- 
2.32.0.windows.2

