@private is a lie, based on usage, it'd need to be at least protected
authorSam Reed <reedy@users.mediawiki.org>
Mon, 19 Dec 2011 01:07:30 +0000 (01:07 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Mon, 19 Dec 2011 01:07:30 +0000 (01:07 +0000)
Removing useless documentation replacing with param/return doc

includes/context/RequestContext.php

index 8c85605..c57399d 100644 (file)
@@ -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;