Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/09/2023 12:24:49 AM (17 months ago)
Author:
espellcaste
Message:

Properly declare missing properties to classes in the Members component.

See #7018

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/classes/class-bp-activity-feed.php

    r13372 r13404  
    5858     * @return bool Whether or not data variable exists.
    5959     */
    60     public function __isset( $key ) { return isset( $this->data[$key] ); }
     60    public function __isset( $key ) {
     61        return isset( $this->data[ $key ] );
     62    }
    6163
    6264    /**
     
    6870     * @return mixed Data in variable if available or null.
    6971     */
    70     public function __get( $key ) { return isset( $this->data[$key] ) ? $this->data[$key] : null; }
     72    public function __get( $key ) {
     73        return isset( $this->data[ $key ] ) ? $this->data[ $key ] : null;
     74    }
    7175
    7276    /**
     
    7882     * @param mixed  $value The value to set.
    7983     */
    80     public function __set( $key, $value ) { $this->data[$key] = $value; }
     84    public function __set( $key, $value ) {
     85        $this->data[ $key ] = $value;
     86    }
    8187
    8288    /**
     
    207213            )
    208214        );
    209 
    210215    }
    211216
Note: See TracChangeset for help on using the changeset viewer.