Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/07/2023 12:18:55 AM (4 years ago)
Author:
espellcaste
Message:

PHPDoc: adding improvements to the @global tag definition.

The @global tag is used to inform PHPDoc of a global variable or its usage. The tag was updated where necessary and invalid examples were removed.

Closes https://github.com/buddypress/buddypress/pull/53
Fixes #8786

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/bp-groups-template.php

    r13302 r13395  
    32153215 * @since 1.0.0
    32163216 *
    3217  * @global object $groups_template
     3217 * @global BP_Groups_Template $groups_template The main Groups template loop class.
    32183218 *
    32193219 * @param object|bool $group Optional. Group to check is_member.
     
    32883288 * @since 1.5.0
    32893289 *
    3290  * @global BP_Groups_Template $groups_template Group template loop object.
     3290 * @global BP_Groups_Template $groups_template The main Groups template loop class.
    32913291 *
    32923292 * @param BP_Groups_Group|bool $group   Group to check if user is banned.
     
    38393839 * @since 1.0.0
    38403840 *
    3841  * @global BP_Groups_Template $groups_template Groups template object.
     3841 * @global BP_Groups_Template $groups_template The main Groups template loop class.
    38423842 *
    38433843 * @param object|null $group Group to get status message for. Optional; defaults to current group.
Note: See TracChangeset for help on using the changeset viewer.