From 02292497a08db375be12b5e6e06b3f16e88a5122 Mon Sep 17 00:00:00 2001 From: Alangi Derick Date: Mon, 17 Dec 2018 16:51:19 +0100 Subject: [PATCH] XmlSelect: Fix PHPDoc param comments for addOption() & formatOptions() Change-Id: I60f1bd78b3820510f9fbc497e1c703f9da7fd900 --- includes/XmlSelect.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ) { -- 2.20.1