aboutsummaryrefslogtreecommitdiffstats
path: root/maintenance/includes
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/includes')
-rw-r--r--maintenance/includes/Benchmarker.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/maintenance/includes/Benchmarker.php b/maintenance/includes/Benchmarker.php
index 8fd44465212c..8004739b8112 100644
--- a/maintenance/includes/Benchmarker.php
+++ b/maintenance/includes/Benchmarker.php
@@ -122,7 +122,7 @@ abstract class Benchmarker extends Maintenance {
}
$t = microtime( true );
// @phan-suppress-next-line PhanTypePossiblyInvalidDimOffset False positive
- call_user_func_array( $bench['function'], $bench['args'] );
+ $bench['function']( ...$bench['args'] );
$t = ( microtime( true ) - $t ) * 1000;
if ( $verbose ) {
$this->verboseRun( $i );