object instantiation style
authorChuck Hagenbuch <chuck@horde.org>
Fri, 30 Oct 2009 00:11:04 +0000 (20:11 -0400)
committerChuck Hagenbuch <chuck@horde.org>
Fri, 30 Oct 2009 00:11:54 +0000 (20:11 -0400)
framework/Controller/lib/Horde/Controller/Dispatcher.php

index f58da88..db86116 100644 (file)
@@ -89,7 +89,7 @@ class Horde_Controller_Dispatcher
 
         // Make sure we have an inflector
         if (!$this->_inflector) {
-            $this->_inflector = new Horde_Support_Inflector;
+            $this->_inflector = new Horde_Support_Inflector();
         }
     }
 
@@ -110,7 +110,7 @@ class Horde_Controller_Dispatcher
      */
     public function dispatch(Horde_Controller_Request_Base $request, $response = null)
     {
-        $t = new Horde_Support_Timer;
+        $t = new Horde_Support_Timer();
         $t->push();
 
         if (! $response instanceof Horde_Controller_Response_Base) {