method signatures, E_STRICT, blah blah blah
authorChad Horohoe <demon@users.mediawiki.org>
Sat, 16 Apr 2011 21:59:01 +0000 (21:59 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Sat, 16 Apr 2011 21:59:01 +0000 (21:59 +0000)
includes/profiler/Profiler.php
includes/profiler/ProfilerStub.php

index 2e02d29..a7698c6 100644 (file)
@@ -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();
index d4ca6b2..b17e81a 100644 (file)
@@ -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;