dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace call_user_func_array(), part 1
[lhc/web/wiklou.git]
/
includes
/
context
/
RequestContext.php
diff --git
a/includes/context/RequestContext.php
b/includes/context/RequestContext.php
index
db3a7a9
..
7563330
100644
(file)
--- a/
includes/context/RequestContext.php
+++ b/
includes/context/RequestContext.php
@@
-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 );
}
/**