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-meta-query.php

    r10163 r10248  
    3030     *
    3131     * @since 2.3.0
    32      * @access protected
    3332     *
    3433     * @param array $query Meta query arguments.
     
    4443     *
    4544     * @since 2.3.0
    46      * @access public
    4745     *
    4846     * @param array $qv The query variables.
     
    9795     *
    9896     * @since 2.3.0
    99      * @access public
    10097     *
    10198     * @param string $type              Type of meta, eg 'user', 'post'.
     
    157154     *
    158155     * @since 2.3.0
    159      * @access public
    160156     *
    161157     * @param array  $clause       Query clause, passed by reference.
Note: See TracChangeset for help on using the changeset viewer.