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-xprofile/classes/class-bp-xprofile-query.php

    r10163 r10248  
    2323         *
    2424         * @since 2.2.0
    25          * @access public
    2625         * @var    array
    2726         */
     
    3231         *
    3332         * @since 2.2.0
    34          * @access public
    3533         * @var    string
    3634         */
     
    4139         *
    4240         * @since 2.2.0
    43          * @access public
    4441         * @var    string
    4542         */
     
    5047         *
    5148         * @since 2.2.0
    52          * @access protected
    5349         * @var    array
    5450         */
     
    5955         *
    6056         * @since 2.2.0
    61          * @access public
    6257         *
    6358         * @param array $xprofile_query {
     
    9590         *
    9691         * @since 2.2.0
    97          * @access public
    9892         *
    9993         * @param array $queries Array of query clauses.
     
    163157         *
    164158         * @since 2.2.0
    165          * @access protected
    166159         *
    167160         * @param  array $query XProfile query arguments.
     
    177170         *
    178171         * @since 2.2.0
    179          * @access public
    180172         *
    181173         * @param string $type MySQL type to cast `value`.
     
    208200         *
    209201         * @since 2.2.0
    210          * @access protected
    211202         *
    212203         * @return array {
     
    238229         *
    239230         * @since 2.2.0
    240          * @access protected
    241231         *
    242232         * @param  array $query Query to parse.
     
    320310         *
    321311         * @since 2.2.0
    322          * @access public
    323312         *
    324313         * @param string $primary_table     Database table where the object being filtered is stored (eg wp_users).
     
    356345         *
    357346         * @since 2.2.0
    358          * @access public
    359347         *
    360348         * @param array $clause       Query clause.
     
    507495         *
    508496         * @since 2.2.0
    509          * @access protected
    510497         *
    511498         * @param array $clause       Query clause.
Note: See TracChangeset for help on using the changeset viewer.