From 76a891e884254e6eada4c46f69927073f57ef47f Mon Sep 17 00:00:00 2001 From: Timothy Jacobs Date: Mon, 9 Sep 2024 11:05:07 -0400 Subject: [PATCH] Correctly type REST API Test Case docs --- includes/core-phpunit/includes/testcase-rest-api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/core-phpunit/includes/testcase-rest-api.php b/includes/core-phpunit/includes/testcase-rest-api.php index a9b9f6e9e..41d4a64b5 100644 --- a/includes/core-phpunit/includes/testcase-rest-api.php +++ b/includes/core-phpunit/includes/testcase-rest-api.php @@ -11,7 +11,7 @@ abstract class WPRestApiTestCase extends WPTestCase { * @since 6.6.0 Added the `$message` parameter. * * @param string|int $code Expected error code. - * @param WP_REST_Response|WP_Error $response REST API response. + * @param \WP_REST_Response|\WP_Error $response REST API response. * @param int $status Optional. Status code. * @param string $message Optional. Message to display when the assertion fails. */