X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FXmlSelect.php;h=45002e82f66ee39becf44f0233fef6181b6d26c1;hb=ba76dfdd050b83eb124ef2f12a6f22c467133fca;hp=5d7406c64d3c10045f192a301ab2906db67797cb;hpb=4261fec2fa469e5173819ad9ad2f450859bda5ad;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/XmlSelect.php b/includes/XmlSelect.php index 5d7406c64d..45002e82f6 100644 --- a/includes/XmlSelect.php +++ b/includes/XmlSelect.php @@ -75,7 +75,7 @@ class XmlSelect { /** * @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; @@ -99,7 +99,7 @@ class XmlSelect { * 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 ) {