From 8126793bbfb3671c9805e206ed0fd5038960e78d Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Mon, 19 Dec 2011 01:07:30 +0000 Subject: [PATCH] @private is a lie, based on usage, it'd need to be at least protected Removing useless documentation replacing with param/return doc --- includes/context/RequestContext.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.20.1