Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/11/2015 04:27:50 PM (10 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-field.php

    r10243 r10248  
    126126     * @since 2.4.0 Property marked protected. Now accessible by magic method or by `get_default_visibility()`.
    127127     *
    128      * @access protected
    129128     * @var string Default field data visibility.
    130129     */
     
    137136     * @since 2.4.0 Property marked protected. Now accessible by magic method or by `get_allow_custom_visibility()`.
    138137     *
    139      * @access protected
    140138     * @var string Members are allowed/disallowed to modify data visibility.
    141139     */
     
    164162     *
    165163     * @since 2.4.0
    166      * @access protected
    167164     * @var array Array of member types.
    168165     */
Note: See TracChangeset for help on using the changeset viewer.