From: Chad Horohoe Date: Sat, 16 Apr 2011 21:59:01 +0000 (+0000) Subject: method signatures, E_STRICT, blah blah blah X-Git-Tag: 1.31.0-rc.0~30764 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=248ff9031e37a072720f776f60d395ec6d637c38;p=lhc%2Fweb%2Fwiklou.git method signatures, E_STRICT, blah blah blah --- diff --git a/includes/profiler/Profiler.php b/includes/profiler/Profiler.php index 2e02d2926e..a7698c6e42 100644 --- a/includes/profiler/Profiler.php +++ b/includes/profiler/Profiler.php @@ -134,7 +134,7 @@ class Profiler { * * @param $functionname String */ - public function profileOut($functionname) { + public function profileOut( $functionname ) { global $wgDebugFunctionEntry; $memory = memory_get_usage(); $time = $this->getTime(); diff --git a/includes/profiler/ProfilerStub.php b/includes/profiler/ProfilerStub.php index d4ca6b266f..b17e81aa4a 100644 --- a/includes/profiler/ProfilerStub.php +++ b/includes/profiler/ProfilerStub.php @@ -24,7 +24,7 @@ class ProfilerStub extends Profiler { * Begin profiling of a function * @param $fn string */ - public function profileIn( $fn = '' ) { + public function profileIn( $fn ) { global $wgDBname; if( $this->haveProctitle ){ $this->hackWhere[] = $fn; @@ -36,7 +36,7 @@ class ProfilerStub extends Profiler { * Stop profiling of a function * @param $fn string */ - public function profileOut( $fn = '' ) { + public function profileOut( $fn ) { global $wgDBname; if( !$this->haveProctitle ) { return;