Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/01/2024 10:19:51 PM (18 months ago)
Author:
espellcaste
Message:

WPCS: Part III: miscellaneous fixes for some of the files of the core component.

Follow-up to [13883] and [13886]

See #9164 and #7228

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/classes/class-bp-theme-compat.php

    r13013 r13887  
    4040     *
    4141     * @since 1.7.0
     42     *
    4243     * @var array
    4344     */
     
    5152     * @param array $properties Array of properties for BP_Theme_Compat.
    5253     */
    53     public function __construct( Array $properties = array() ) {
     54    public function __construct( array $properties = array() ) {
    5455        $this->_data = $properties;
    5556    }
     
    103104     */
    104105    public function __set( $property, $value ) {
    105         return $this->_data[$property] = $value;
     106        return $this->_data[ $property ] = $value;
    106107    }
    107108
     
    116117     */
    117118    public function __get( $property ) {
    118         return array_key_exists( $property, $this->_data ) ? $this->_data[$property] : '';
     119        return array_key_exists( $property, $this->_data ) ? $this->_data[ $property ] : '';
    119120    }
    120121
Note: See TracChangeset for help on using the changeset viewer.