X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fcontext%2FDerivativeContext.php;h=9817c3fc4f2922202739e8e369cc12258ed4afdf;hb=1190803d29de2ee7ca63573fa5ec9b6cb39cd6a3;hp=f7a1815d023e2f8c9c14ee32eccb3c02582d41cf;hpb=16c80e429be5904fb42a93f260f8de3d18f0c692;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/context/DerivativeContext.php b/includes/context/DerivativeContext.php index f7a1815d02..9817c3fc4f 100644 --- a/includes/context/DerivativeContext.php +++ b/includes/context/DerivativeContext.php @@ -296,6 +296,7 @@ class DerivativeContext extends ContextSource implements MutableContext { public function msg( $key ) { $args = func_get_args(); - return call_user_func_array( 'wfMessage', $args )->setContext( $this ); + // phpcs:ignore MediaWiki.Usage.ExtendClassUsage.FunctionVarUsage + return wfMessage( ...$args )->setContext( $this ); } }