$res = false;
if ( $this->useMessageCache() ) {
try {
- $res = wfMessage( $key, $params )->text();
+ $res = wfMessage( $key, ...$params )->text();
} catch ( Exception $e ) {
}
}
header( $header );
}
}
+
private static function statusHeader( $code ) {
if ( !headers_sent() ) {
HttpStatus::header( $code );