Replace call_user_func_array(), part 1
[lhc/web/wiklou.git] / includes / context / RequestContext.php
index db3a7a9..7563330 100644 (file)
@@ -423,7 +423,7 @@ class RequestContext implements IContextSource, MutableContext {
        public function msg( $key ) {
                $args = func_get_args();
 
-               return call_user_func_array( 'wfMessage', $args )->setContext( $this );
+               return wfMessage( ...$args )->setContext( $this );
        }
 
        /**