Merge "mediawiki.util: Simplify test-only setOptions methods"
[lhc/web/wiklou.git] / maintenance / benchmarks / bench_if_switch.php
index 32c3932..5f661f2 100644 (file)
@@ -42,7 +42,6 @@ class BenchIfSwitch extends Benchmarker {
                        [ 'function' => [ $this, 'doElseIf' ] ],
                        [ 'function' => [ $this, 'doSwitch' ] ],
                ] );
-               $this->output( $this->getFormattedResults() );
        }
 
        // bench function 1
@@ -107,5 +106,5 @@ class BenchIfSwitch extends Benchmarker {
        }
 }
 
-$maintClass = 'BenchIfSwitch';
+$maintClass = BenchIfSwitch::class;
 require_once RUN_MAINTENANCE_IF_MAIN;