Merge "DifferenceEngine: show undo links for non-text content"
[lhc/web/wiklou.git] / includes / context / ContextSource.php
index 03fb9e2..a21f404 100644 (file)
@@ -163,12 +163,13 @@ abstract class ContextSource implements IContextSource {
         * @param string|string[]|MessageSpecifier $key Message key, or array of keys,
         *   or a MessageSpecifier.
         * @param mixed $args,...
+        * @suppress PhanCommentParamWithoutRealParam HHVM bug T228695#5450847
         * @return Message
         */
        public function msg( $key /* $args */ ) {
                $args = func_get_args();
 
-               return call_user_func_array( [ $this->getContext(), 'msg' ], $args );
+               return $this->getContext()->msg( ...$args );
        }
 
        /**