From: Chuck Hagenbuch Date: Fri, 30 Oct 2009 00:11:04 +0000 (-0400) Subject: object instantiation style X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=fd1a472de7702ad219a55099cd7522cb5ffac87a;p=horde.git object instantiation style --- diff --git a/framework/Controller/lib/Horde/Controller/Dispatcher.php b/framework/Controller/lib/Horde/Controller/Dispatcher.php index f58da88b7..db8611629 100644 --- a/framework/Controller/lib/Horde/Controller/Dispatcher.php +++ b/framework/Controller/lib/Horde/Controller/Dispatcher.php @@ -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) {