X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fcontext%2FRequestContext.php;h=47d1684e60add08c522a4e6eb299c90512cab2f6;hb=dbad540cd37617879aff6f28ce9c016dd8049d4e;hp=c2d0de1dc98e6d1cf4bdb8a08181b078d0dfa7f3;hpb=b14884f5b6373c996a1969b3b5f071b78a734433;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/context/RequestContext.php b/includes/context/RequestContext.php index c2d0de1dc9..47d1684e60 100644 --- a/includes/context/RequestContext.php +++ b/includes/context/RequestContext.php @@ -81,17 +81,13 @@ class RequestContext implements IContextSource, MutableContext { private static $instance = null; /** - * Set the Config object - * - * @param Config $c + * @param Config $config */ - public function setConfig( Config $c ) { - $this->config = $c; + public function setConfig( Config $config ) { + $this->config = $config; } /** - * Get the Config object - * * @return Config */ public function getConfig() { @@ -441,8 +437,6 @@ class RequestContext implements IContextSource, MutableContext { return $this->skin; } - /** Helpful methods **/ - /** * Get a Message object with context set * Parameters are the same as wfMessage() @@ -458,8 +452,6 @@ class RequestContext implements IContextSource, MutableContext { return call_user_func_array( 'wfMessage', $args )->setContext( $this ); } - /** Static methods **/ - /** * Get the RequestContext object associated with the main request *