From 7e0d8d597de64602b520c83ed8c9bdfaeea75c2e Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Sun, 16 Dec 2012 22:14:01 +0100 Subject: [PATCH] Fix the little documentation that FormOptions::consumeValue() has Change-Id: I9a4bfaace4f19ba5e3e8a405118fe1bae3a1696d --- includes/FormOptions.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/includes/FormOptions.php b/includes/FormOptions.php index 1cfe88e891..8411bc48ae 100644 --- a/includes/FormOptions.php +++ b/includes/FormOptions.php @@ -178,8 +178,9 @@ class FormOptions implements ArrayAccess { /** * @todo Document - * @param $name String: option name - * @return null + * @param string $name Option name + * @throws MWException If option does not exist. + * @return mixed Value or the default value if it is null. */ public function consumeValue( $name ) { $this->validateName( $name, true ); -- 2.20.1