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-suggestions.php

    r13108 r13372  
    5151     * @var array
    5252     */
    53     protected $args = array(
    54     );
    55 
     53    protected $args = array();
    5654
    5755    /**
     
    106104         * @since 2.1.0
    107105         *
    108          * @param BP_Suggestions $value Arguments to be validated.
    109          * @param BP_Suggestions $this Current BP_Suggestions instance.
     106         * @param array          $args        Arguments to be validated.
     107         * @param BP_Suggestions $suggestions Current BP_Suggestions instance.
    110108         */
    111         $this->args          = apply_filters( 'bp_suggestions_args', $this->args, $this );
     109        $this->args = apply_filters( 'bp_suggestions_args', $this->args, $this );
    112110
    113111        // Check for invalid or missing mandatory parameters.
     
    126124         * @since 2.1.0
    127125         *
    128          * @param bool           $value Whether or not the values are valid.
    129          * @param BP_Suggestions $this Current BP_Suggestions instance.
     126         * @param bool           $is_valid    Whether or not the values are valid.
     127         * @param BP_Suggestions $suggestions Current BP_Suggestions instance.
    130128         */
    131129        return apply_filters( 'bp_suggestions_validate_args', true, $this );
Note: See TracChangeset for help on using the changeset viewer.