diff --git a/tests/phpunit/includes/spy-rest-server.php b/tests/phpunit/includes/spy-rest-server.php
index 4266a3de56..a714fc2d2e 100644
--- a/tests/phpunit/includes/spy-rest-server.php
+++ b/tests/phpunit/includes/spy-rest-server.php
@@ -54,7 +54,7 @@ class Spy_REST_Server extends WP_REST_Server {
 	/**
 	 * Stores last set status.
 	 *
-	 * @param int $code HTTP status.
+	 * @param int $status HTTP status.
 	 */
 	public function set_status( $status ) {
 		$this->status = $status;
