Make WordPress Core


Ignore:
Timestamp:
02/25/2018 08:21:37 PM (7 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/class-wp-http-encoding.php

    r42343 r42746  
    2424     * @since 2.8.0
    2525     *
    26      * @static
    27      *
    2826     * @param string $raw String to compress.
    2927     * @param int $level Optional, default is 9. Compression level, 9 is highest.
     
    4543     * @since 2.8.0
    4644     *
    47      * @static
    48      *
    4945     * @param string $compressed String to decompress.
    5046     * @param int $length The optional length of the compressed data.
     
    9692     * @link https://secure.php.net/manual/en/function.gzinflate.php#70875
    9793     * @link https://secure.php.net/manual/en/function.gzinflate.php#77336
    98      *
    99      * @static
    10094     *
    10195     * @param string $gzData String to decompress.
     
    142136     *
    143137     * @since 2.8.0
    144      *
    145      * @static
    146138     *
    147139     * @param string $url
     
    195187     * @since 2.8.0
    196188     *
    197      * @static
    198      *
    199189     * @return string Content-Encoding string to send in the header.
    200190     */
     
    207197     *
    208198     * @since 2.8.0
    209      *
    210      * @static
    211199     *
    212200     * @param array|string $headers All of the available headers.
     
    234222     * @since 2.8.0
    235223     *
    236      * @static
    237      *
    238224     * @return bool
    239225     */
Note: See TracChangeset for help on using the changeset viewer.