From: Sam Reed Date: Mon, 19 Dec 2011 01:07:30 +0000 (+0000) Subject: @private is a lie, based on usage, it'd need to be at least protected X-Git-Tag: 1.31.0-rc.0~25900 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=8126793bbfb3671c9805e206ed0fd5038960e78d;p=lhc%2Fweb%2Fwiklou.git @private is a lie, based on usage, it'd need to be at least protected Removing useless documentation replacing with param/return doc --- diff --git a/includes/context/RequestContext.php b/includes/context/RequestContext.php index 8c85605074..c57399ded6 100644 --- a/includes/context/RequestContext.php +++ b/includes/context/RequestContext.php @@ -146,7 +146,8 @@ class RequestContext implements IContextSource { /** * Accepts a language code and ensures it's sane. Outputs a cleaned up language * code and replaces with $wgLanguageCode if not sane. - * @private + * @param $code string + * @return string */ static function sanitizeLangCode( $code ) { global $wgLanguageCode;