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-user-query.php

    r13184 r13372  
    188188             * @since 1.7.0
    189189             *
    190              * @param BP_User_Query $this Current instance of the BP_User_Query. Passed by reference.
     190             * @param BP_User_Query $user_query Current instance of the BP_User_Query. Passed by reference.
    191191             */
    192192            do_action_ref_array( 'bp_pre_user_query_construct', array( &$this ) );
     
    494494         * @since 2.0.0
    495495         *
    496          * @param array         $sql  Array of SQL clauses to be used in the query.
    497          * @param BP_User_Query $this Current BP_User_Query instance.
     496         * @param array         $sql        Array of SQL clauses to be used in the query.
     497         * @param BP_User_Query $user_query Current BP_User_Query instance.
    498498         */
    499499        $sql = apply_filters_ref_array( 'bp_user_query_uid_clauses', array( $sql, &$this ) );
     
    511511         * @since 1.7.0
    512512         *
    513          * @param BP_User_Query $this Current BP_User_Query instance. Passed by reference.
     513         * @param BP_User_Query $query Current BP_User_Query instance. Passed by reference.
    514514         */
    515515        do_action_ref_array( 'bp_pre_user_query', array( &$this ) );
     
    549549             * @since 1.7.0
    550550             *
    551              * @param string        $value SQL statement to select FOUND_ROWS().
    552              * @param BP_User_Query $this Current BP_User_Query instance.
     551             * @param string        $value      SQL statement to select FOUND_ROWS().
     552             * @param BP_User_Query $user_query Current BP_User_Query instance.
    553553             */
    554554            $this->total_users = $wpdb->get_var( apply_filters( 'bp_found_user_query', "SELECT FOUND_ROWS()", $this ) );
     
    579579         * @since 1.7.0
    580580         *
    581          * @param array         $value Array of arguments for the user query.
    582          * @param BP_User_Query $this Current BP_User_Query instance.
     581         * @param array         $value      Array of arguments for the user query.
     582         * @param BP_User_Query $user_query Current BP_User_Query instance.
    583583         */
    584584        $wp_user_query = new WP_User_Query( apply_filters( 'bp_wp_user_query_args', array(
     
    697697         * @since 1.7.0
    698698         *
    699          * @param BP_User_Query $this         Current BP_User_Query instance.
     699         * @param BP_User_Query $user_query   Current BP_User_Query instance.
    700700         * @param string        $user_ids_sql Comma-separated string of user IDs.
    701701         */
Note: See TracChangeset for help on using the changeset viewer.