Change-Id: I60f1bd78b3820510f9fbc497e1c703f9da7fd900
/**
* @param string $label
- * @param string $value If not given, assumed equal to $label
+ * @param string|false $value If not given, assumed equal to $label
*/
public function addOption( $label, $value = false ) {
$value = $value !== false ? $value : $label;
* label => ( label => value, label => value )
*
* @param array $options
- * @param string|array $default
+ * @param string|array|false $default
* @return string
*/
static function formatOptions( $options, $default = false ) {