Fix documentation for Html::closeElement
authorMatthew Flaschen <mflaschen@wikimedia.org>
Sun, 10 Aug 2014 02:23:27 +0000 (22:23 -0400)
committerMatthew Flaschen <mflaschen@wikimedia.org>
Sun, 10 Aug 2014 02:23:27 +0000 (22:23 -0400)
Follow-up to d950da075dcb6c6dd3f68a50a0d427569350763a

Change-Id: I916052cf924dd3c6664b6d7d02175fd74a71527b

includes/Html.php

index cb98009..4192507 100644 (file)
@@ -225,12 +225,11 @@ class Html {
        }
 
        /**
-        * Returns "</$element>", except if $wgWellFormedXml is off, in which case
-        * it returns the empty string when that's guaranteed to be safe.
+        * Returns "</$element>"
         *
         * @since 1.17
         * @param string $element Name of the element, e.g., 'a'
-        * @return string A closing tag, if required
+        * @return string A closing tag
         */
        public static function closeElement( $element ) {
                $element = strtolower( $element );