* @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 );
}
/**