Changeset 52242 for trunk/tests/phpunit/includes/spy-rest-server.php
- Timestamp:
- 11/24/2021 11:58:20 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/spy-rest-server.php
r51960 r52242 40 40 41 41 /** 42 * Stores last set status.43 * @param int $code HTTP status.44 */45 public function set_status( $status ) {46 $this->status = $status;47 }48 49 /**50 42 * Removes a header from the list of sent headers. 51 43 * … … 54 46 public function remove_header( $header ) { 55 47 unset( $this->sent_headers[ $header ] ); 48 } 49 50 /** 51 * Stores last set status. 52 * 53 * @param int $code HTTP status. 54 */ 55 public function set_status( $status ) { 56 $this->status = $status; 56 57 } 57 58
Note: See TracChangeset
for help on using the changeset viewer.