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-xprofile/classes/class-bp-xprofile-group.php

    r13358 r13372  
    135135         * @since 1.0.0
    136136         *
    137          * @param BP_XProfile_Group $this Current instance of the group being saved. Passed by reference.
     137         * @param BP_XProfile_Group $field_group Current instance of the field group being saved. Passed by reference.
    138138         */
    139139        do_action_ref_array( 'xprofile_group_before_save', array( &$this ) );
     
    166166         * @since 1.0.0
    167167         *
    168          * @param BP_XProfile_Group $this Current instance of the group being saved. Passed by reference.
     168         * @param BP_XProfile_Group $field_group Current instance of the field group being saved. Passed by reference.
    169169         */
    170170        do_action_ref_array( 'xprofile_group_after_save', array( &$this ) );
     
    195195         * @since 2.0.0
    196196         *
    197          * @param BP_XProfile_Group $this Current instance of the group being deleted. Passed by reference.
     197         * @param BP_XProfile_Group $field_group Current instance of the field group being deleted. Passed by reference.
    198198         */
    199199        do_action_ref_array( 'xprofile_group_before_delete', array( &$this ) );
     
    224224         * @since 2.0.0
    225225         *
    226          * @param BP_XProfile_Group $this Current instance of the group being deleted. Passed by reference.
     226         * @param BP_XProfile_Group $field_group Current instance of the field group being deleted. Passed by reference.
    227227         */
    228228        do_action_ref_array( 'xprofile_group_after_delete', array( &$this ) );
     
    911911                             * @since 2.6.0
    912912                             *
    913                              * @param BP_XProfile_Group $this Current XProfile group.
     913                             * @param BP_XProfile_Group $field_group Current instance of the field group.
    914914                             */
    915915                            do_action( 'xprofile_group_admin_after_description', $this ); ?>
     
    926926                             * @since 2.1.0
    927927                             *
    928                              * @param BP_XProfile_Group $this Current XProfile group.
     928                             * @param BP_XProfile_Group $field_group Current instance of the field group.
    929929                             */
    930930                            do_action( 'xprofile_group_before_submitbox', $this ); ?>
     
    946946                                             * @since 2.1.0
    947947                                             *
    948                                              * @param BP_XProfile_Group $this Current XProfile group.
     948                                             * @param BP_XProfile_Group $field_group Current instance of the field group.
    949949                                             */
    950950                                            do_action( 'xprofile_group_submitbox_start', $this ); ?>
     
    974974                             * @since 2.1.0
    975975                             *
    976                              * @param BP_XProfile_Group $this Current XProfile group.
     976                             * @param BP_XProfile_Group $field_group Current instance of the field group.
    977977                             */
    978978                            do_action( 'xprofile_group_after_submitbox', $this ); ?>
Note: See TracChangeset for help on using the changeset viewer.