Add MusikAnimal to CREDITS
[lhc/web/wiklou.git] / maintenance / benchmarks / bench_if_switch.php
index 8f7f61d..46c9d39 100644 (file)
@@ -38,10 +38,10 @@ class BenchIfSwitch extends Benchmarker {
        }
 
        public function execute() {
-               $this->bench( array(
-                       array( 'function' => array( $this, 'doElseIf' ) ),
-                       array( 'function' => array( $this, 'doSwitch' ) ),
-               ) );
+               $this->bench( [
+                       [ 'function' => [ $this, 'doElseIf' ] ],
+                       [ 'function' => [ $this, 'doSwitch' ] ],
+               ] );
                print $this->getFormattedResults();
        }