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-friends/classes/class-bp-friends-friendship.php

    r10160 r10248  
    1818     * ID of the friendship.
    1919     *
    20      * @access public
    2120     * @var int
    2221     */
     
    2625     * User ID of the friendship initiator.
    2726     *
    28      * @access public
    2927     * @var int
    3028     */
     
    3432     * User ID of the 'friend' - the one invited to the friendship.
    3533     *
    36      * @access public
    3734     * @var int
    3835     */
     
    4239     * Has the friendship been confirmed/accepted?
    4340     *
    44      * @access public
    4541     * @var int
    4642     */
     
    5248     * Not currently used by BuddyPress.
    5349     *
    54      * @access public
    5550     * @var int
    5651     */
     
    6055     * Date the friendship was created.
    6156     *
    62      * @access public
    6357     * @var string
    6458     */
     
    7064     * Not currently used in BuddyPress.
    7165     *
    72      * @access public
    7366     * @var bool
    7467     */
     
    7871     * Should additional friend details be queried?
    7972     *
    80      * @access public
    8173     * @var bool
    8274     */
     
    8678     * Details about the friend.
    8779     *
    88      * @access public
    8980     * @var BP_Core_User
    9081     */
Note: See TracChangeset for help on using the changeset viewer.