WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/25/2018 08:21:37 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Docs: Remove @static notations from method DocBlocks in wp-includes/* classes.

This tag has been used in the past, but should no longer be used. Just using the static keyword in code is enough for PhpDocumentor on PHP5+ to recognize static variables and methods, and PhpDocumentor will mark them as static.

Props birgire.
See #42803.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/class-wp-rest-server.php

    r42421 r42746  
    460460     *
    461461     * @since 4.4.0
    462      * @static
    463462     *
    464463     * @param WP_REST_Response $response Response to extract links from.
     
    493492     *
    494493     * @since 4.5.0
    495      * @static
    496494     *
    497495     * @param WP_REST_Response $response Response to extract links from.
Note: See TracChangeset for help on using the changeset viewer.