HTMLForm: Improve method documentation for setCollapsibleOptions()
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 22 May 2019 22:38:45 +0000 (23:38 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Wed, 22 May 2019 22:40:52 +0000 (23:40 +0100)
commit012aa045e9ceb1eefcdd2d0358f930bef3485274
tree82117ec9d85b8eb8844739ef9fa2f2b99130ed70
parentba26cf3bf9c87d4b3cecb21765277dc0bd1c1b23
HTMLForm: Improve method documentation for setCollapsibleOptions()

Follows-up 36d33daa03a63.

Previously the method was described as "Set whether the form can be collapsed"
taking a single boolean.

Yet, the boolean did not influence whether the form can be collapsed, as one
might expect.

Rather, this method always enable collapsible mode. The thing that is set
based on the passed value is the default state of that (unconditionally)
enabled collapsible mode.

Change-Id: I2e73d5481c44ed43769553b2bc25543a702c19b8
includes/htmlform/HTMLForm.php