From 248ff9031e37a072720f776f60d395ec6d637c38 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Sat, 16 Apr 2011 21:59:01 +0000 Subject: [PATCH] method signatures, E_STRICT, blah blah blah --- includes/profiler/Profiler.php | 2 +- includes/profiler/ProfilerStub.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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; -- 2.20.1