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-core/classes/class-bp-members-suggestions.php

    r11760 r13372  
    5555         * @since 2.1.0
    5656         *
    57          * @param array                  $args Array of arguments for the member suggestions.
    58          * @param BP_Members_Suggestions $this Current BP_Members_Suggestions instance.
     57         * @param array                  $args        Array of arguments for the member suggestions.
     58         * @param BP_Members_Suggestions $suggestions Current BP_Members_Suggestions instance.
    5959         */
    6060        $this->args                 = apply_filters( 'bp_members_suggestions_args', $this->args, $this );
     
    7070         * @since 2.1.0
    7171         *
    72          * @param bool|WP_Error          $value Results of validation check.
    73          * @param BP_Members_Suggestions $this Current BP_Members_Suggestions instance.
     72         * @param bool|WP_Error          $is_valid    Results of validation check.
     73         * @param BP_Members_Suggestions $suggestions Current BP_Members_Suggestions instance.
    7474         */
    7575        return apply_filters( 'bp_members_suggestions_validate_args', parent::validate(), $this );
     
    105105         * @since 2.1.0
    106106         *
    107          * @param array                  $user_query Array of query arguments.
    108          * @param BP_Members_Suggestions $this      Current BP_Members_Suggestions instance.
     107         * @param array                  $user_query  Array of query arguments.
     108         * @param BP_Members_Suggestions $suggestions Current BP_Members_Suggestions instance.
    109109         */
    110110        $user_query = apply_filters( 'bp_members_suggestions_query_args', $user_query, $this );
     
    132132         * @since 2.1.0
    133133         *
    134          * @param array                  $results Array of users to suggest.
    135          * @param BP_Members_Suggestions $this    Current BP_Members_Suggestions instance.
     134         * @param array                  $results     Array of users to suggest.
     135         * @param BP_Members_Suggestions $suggestions Current BP_Members_Suggestions instance.
    136136         */
    137137        return apply_filters( 'bp_members_suggestions_get_suggestions', $results, $this );
Note: See TracChangeset for help on using the changeset viewer.