Skip to content

Commit

Permalink
Correctly type REST API Test Case docs
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyBJacobs committed Sep 9, 2024
1 parent 145e234 commit 76a891e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/core-phpunit/includes/testcase-rest-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit 76a891e

Please sign in to comment.