Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/24/2022 09:33:11 PM (2 years ago)
Author:
imath
Message:

Replace usage of $this in @param tags with a meaningful variable name

Props devutpol, espellcaste

Fixes #8611

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/classes/class-bp-groups-member.php

    r13280 r13372  
    282282         * @since 1.0.0
    283283         *
    284          * @param BP_Groups_Member $this Current instance of the group membership item being saved. Passed by reference.
     284         * @param BP_Groups_Member $group_membership Current instance of the group membership item being saved. Passed by reference.
    285285         */
    286286        do_action_ref_array( 'groups_member_before_save', array( &$this ) );
     
    317317         * @since 1.0.0
    318318         *
    319          * @param BP_Groups_Member $this Current instance of the group membership item has been saved. Passed by reference.
     319         * @param BP_Groups_Member $member Current instance of the group membership item has been saved. Passed by reference.
    320320         */
    321321        do_action_ref_array( 'groups_member_after_save', array( &$this ) );
     
    432432         * @since 2.3.0
    433433         *
    434          * @param BP_Groups_Member $this Current group membership object.
     434         * @param BP_Groups_Member $group_membership Current group membership class.
    435435         */
    436436        do_action_ref_array( 'groups_member_before_remove', array( $this ) );
     
    450450         * @since 2.3.0
    451451         *
    452          * @param BP_Groups_Member $this Current group membership object.
     452         * @param BP_Groups_Member $member Current group membership object.
    453453         */
    454454        do_action_ref_array( 'groups_member_after_remove', array( $this ) );
Note: See TracChangeset for help on using the changeset viewer.