Make WordPress Core


Ignore:
Timestamp:
11/24/2021 11:58:20 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Docs: Miscellaneous DocBlock corrections.

See #53399.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/spy-rest-server.php

    r51960 r52242  
    4040
    4141    /**
    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     /**
    5042     * Removes a header from the list of sent headers.
    5143     *
     
    5446    public function remove_header( $header ) {
    5547        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;
    5657    }
    5758
Note: See TracChangeset for help on using the changeset viewer.