Make WordPress Core


Ignore:
Timestamp:
02/25/2018 08:21:37 PM (8 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/pomo/po.php

    r42343 r42746  
    101101         * Formats a string in PO-style
    102102         *
    103          * @static
    104103         * @param string $string the string to format
    105104         * @return string the poified string
     
    132131         * Gives back the original string from a PO-formatted string
    133132         *
    134          * @static
    135133         * @param string $string PO-formatted string
    136134         * @return string enascaped string
     
    174172         * returns the modified string
    175173         *
    176          * @static
    177174         * @param string $string prepend lines in this string
    178175         * @param string $with prepend lines with this string
     
    212209         * Builds a string from the entry for inclusion in PO file
    213210         *
    214          * @static
    215211         * @param Translation_Entry $entry the entry to convert to po string (passed by reference).
    216212         * @return false|string PO-style formatted string for the entry or
Note: See TracChangeset for help on using the changeset viewer.