diff --git a/includes/core-phpunit/includes/testcase-rest-api.php b/includes/core-phpunit/includes/testcase-rest-api.php index 41d4a64b5..e9005563b 100644 --- a/includes/core-phpunit/includes/testcase-rest-api.php +++ b/includes/core-phpunit/includes/testcase-rest-api.php @@ -10,10 +10,10 @@ abstract class WPRestApiTestCase extends WPTestCase { * @since 4.4.0 * @since 6.6.0 Added the `$message` parameter. * - * @param string|int $code Expected error code. + * @param string|int $code Expected error code. * @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. + * @param int $status Optional. Status code. + * @param string $message Optional. Message to display when the assertion fails. */ protected function assertErrorResponse( $code, $response, $status = null, $message = '' ) {