Typo in comment of Html::radio()
authorEdward Chernenko <edwardspec@gmail.com>
Thu, 15 Oct 2015 21:07:55 +0000 (00:07 +0300)
committerUmherirrender <umherirrender_de.wp@web.de>
Fri, 16 Oct 2015 13:51:00 +0000 (13:51 +0000)
Incorrectly copied documentation from Html::check().

Change-Id: I508e4beedb01b62989a7f37466c47ddd37091b49

includes/Html.php

index 506b9cc..b7958dd 100644 (file)
@@ -744,10 +744,10 @@ class Html {
        }
 
        /**
-        * Convenience function to produce a checkbox (input element with type=checkbox)
+        * Convenience function to produce a radio button (input element with type=radio)
         *
         * @param string $name Name attribute
-        * @param bool $checked Whether the checkbox is checked or not
+        * @param bool $checked Whether the radio button is checked or not
         * @param array $attribs Array of additional attributes
         * @return string Raw HTML
         */