Skip to:
Content

bbPress.org

Changeset 7046 for trunk/src/bbpress.php


Ignore:
Timestamp:
12/15/2019 10:42:29 AM (5 years ago)
Author:
netweb
Message:

PHPCS: Use Parenthesis when instantiating a new object.

Props jrf.
See #3294.
For trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bbpress.php

    r7028 r7046  
    114114        // Only run these methods if they haven't been ran previously
    115115        if ( null === $instance ) {
    116             $instance = new bbPress;
     116            $instance = new bbPress();
    117117            $instance->setup_environment();
    118118            $instance->includes();
     
    823823
    824824        // Setup the engagements interface
    825         $this->engagements = new $class_name;
     825        $this->engagements = new $class_name();
    826826    }
    827827
Note: See TracChangeset for help on using the changeset viewer.