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-messages/classes/class-bp-messages-notice.php

    r13108 r13372  
    119119         * @since 1.0.0
    120120         *
    121          * @param BP_Messages_Notice $this Current instance of the message notice item being saved. Passed by reference.
     121         * @param BP_Messages_Notice $notice Current instance of the message notice item being saved. Passed by reference.
    122122         */
    123123        do_action_ref_array( 'messages_notice_before_save', array( &$this ) );
     
    147147         * @since 1.0.0
    148148         *
    149          * @param BP_Messages_Notice $this Current instance of the message item being saved. Passed by reference.
     149         * @param BP_Messages_Notice $notice Current instance of the message item being saved. Passed by reference.
    150150         */
    151151        do_action_ref_array( 'messages_notice_after_save', array( &$this ) );
     
    196196         * @since 1.0.0
    197197         *
    198          * @param BP_Messages_Notice $this Current instance of the message notice item being deleted.
     198         * @param BP_Messages_Notice $notice Current instance of the message notice item being deleted.
    199199         */
    200200        do_action( 'messages_notice_before_delete', $this );
     
    212212         * @since 2.8.0
    213213         *
    214          * @param BP_Messages_Notice $this Current instance of the message notice item being deleted.
     214         * @param BP_Messages_Notice $notice Current instance of the message notice item being deleted.
    215215         */
    216216        do_action( 'messages_notice_after_delete', $this );
Note: See TracChangeset for help on using the changeset viewer.