Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/11/2015 04:27:50 PM (11 years ago)
Author:
djpaul
Message:

phpdoc: remove obsolete @access public|protected|private statements.

These should only be used on procedural functions that, for legacy
reasons, pretend they are private by prefacing their name with an
underscore.

As modern PHP parsers and IDEs use reflections to figure out the
visibility scope of methods and properties by looking at the actual
code, there’s also no bonus in keeping these purely for documentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/classes/class-bp-recursive-query.php

    r10108 r10248  
    2121     *
    2222     * @since 2.2.0
    23      * @access public
    2423     * @var array
    2524     */
     
    3635     *
    3736     * @since 2.2.0
    38      * @access protected
    3937     *
    4038     * @return array
     
    6058     *
    6159     * @since 2.2.0
    62      * @access protected
    6360     *
    6461     * @param  array $query Query to parse.
     
    140137     *
    141138     * @since 2.2.0
    142      * @access public
    143139     *
    144140     * @param array $queries Array of query clauses.
     
    208204     *
    209205     * @since 2.2.0
    210      * @access protected
    211206     *
    212207     * @param array $clause       Array of arguments belonging to the clause.
     
    226221     *
    227222     * @since 2.2.0
    228      * @access protected
    229223     *
    230224     * @param array $query Clause to check.
Note: See TracChangeset for help on using the changeset viewer.