Skip to:
Content

bbPress.org

Changeset 5469 for trunk/src/bbpress.php


Ignore:
Timestamp:
09/08/2014 04:07:32 PM (10 years ago)
Author:
johnjamesjacoby
Message:

Whitespace and brackets in main bbPress class.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bbpress.php

    r5466 r5469  
    146146     * @since bbPress (r3951)
    147147     */
    148     public function __isset( $key ) { return isset( $this->data[$key] ); }
     148    public function __isset( $key ) { return isset( $this->data[ $key ] ); }
    149149
    150150    /**
     
    153153     * @since bbPress (r3951)
    154154     */
    155     public function __get( $key ) { return isset( $this->data[$key] ) ? $this->data[$key] : null; }
     155    public function __get( $key ) { return isset( $this->data[ $key ] ) ? $this->data[ $key ] : null; }
    156156
    157157    /**
     
    160160     * @since bbPress (r3951)
    161161     */
    162     public function __set( $key, $value ) { $this->data[$key] = $value; }
     162    public function __set( $key , $value ) { $this->data[ $key ] = $value; }
    163163
    164164    /**
     
    167167     * @since bbPress (r4628)
    168168     */
    169     public function __unset( $key ) { if ( isset( $this->data[$key] ) ) unset( $this->data[$key] ); }
     169    public function __unset( $key ) {
     170        if ( isset( $this->data[ $key ] ) ) {
     171            unset( $this->data[ $key ] );
     172        }
     173    }
    170174
    171175    /**
     
    427431
    428432        // Bail if something already has this under control
    429         if ( ! empty( $this->theme_compat->theme ) )
     433        if ( ! empty( $this->theme_compat->theme ) ) {
    430434            return;
     435        }
    431436
    432437        // Setup the theme package to use for compatibility
Note: See TracChangeset for help on using the changeset viewer.