Merge "Do not run exact db match if offset is > 0"
[lhc/web/wiklou.git] / maintenance / benchmarks / bench_wfIsWindows.php
index ea919ef..ac0caf6 100644 (file)
@@ -38,10 +38,10 @@ class BenchWfIsWindows extends Benchmarker {
        }
 
        public function execute() {
-               $this->bench( array(
-                       array( 'function' => array( $this, 'wfIsWindows' ) ),
-                       array( 'function' => array( $this, 'wfIsWindowsCached' ) ),
-               ) );
+               $this->bench( [
+                       [ 'function' => [ $this, 'wfIsWindows' ] ],
+                       [ 'function' => [ $this, 'wfIsWindowsCached' ] ],
+               ] );
                print $this->getFormattedResults();
        }