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/class-wp-session-tokens.php

    r42343 r42746  
    4141     *
    4242     * @since 4.0.0
    43      * @static
    4443     *
    4544     * @param int $user_id User whose session to manage.
     
    224223     *
    225224     * @since 4.0.0
    226      * @static
    227225     */
    228226    final public static function destroy_all_for_all_users() {
     
    295293     *
    296294     * @since 4.0.0
    297      * @static
    298295     */
    299296    public static function drop_sessions() {}
Note: See TracChangeset for help on using the changeset viewer.