Skip to content

Commit ab5d9e3

Browse files
Docs: Correct parameter name in Spy_REST_Server::set_status().
Follow-up to [51960]. Props nareshbheda. Fixes #63343. git-svn-id: https://develop.svn.wordpress.org/trunk@60185 602fd350-edb4-49c9-b593-d223f7449a82
1 parent d2f5e3b commit ab5d9e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/phpunit/includes/spy-rest-server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function remove_header( $header ) {
5454
/**
5555
* Stores last set status.
5656
*
57-
* @param int $code HTTP status.
57+
* @param int $status HTTP status.
5858
*/
5959
public function set_status( $status ) {
6060
$this->status = $status;

0 commit comments

Comments
 (0)