Merge "HTMLForm: Improve method documentation for setCollapsibleOptions()"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Thu, 23 May 2019 09:26:17 +0000 (09:26 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 23 May 2019 09:26:17 +0000 (09:26 +0000)
includes/htmlform/HTMLForm.php

index f5be83f..5042028 100644 (file)
@@ -1062,10 +1062,10 @@ class HTMLForm extends ContextSource {
        }
 
        /**
-        * Set whether the HTML form can be collapsed.
+        * Enable collapsible mode, and set whether the form is collapsed by default.
         *
         * @since 1.34
-        * @param bool $collapsedByDefault (optional) whether the form is collapsed by default
+        * @param bool $collapsedByDefault Whether the form is collapsed by default (optional).
         * @return HTMLForm $this for chaining calls
         */
        public function setCollapsibleOptions( $collapsedByDefault = false ) {