dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69419cd
)
Fix the little documentation that FormOptions::consumeValue() has
author
Siebrand Mazeland
<s.mazeland@xs4all.nl>
Sun, 16 Dec 2012 21:14:01 +0000
(22:14 +0100)
committer
Siebrand Mazeland
<s.mazeland@xs4all.nl>
Mon, 17 Dec 2012 08:30:44 +0000
(09:30 +0100)
Change-Id: I9a4bfaace4f19ba5e3e8a405118fe1bae3a1696d
includes/FormOptions.php
patch
|
blob
|
history
diff --git
a/includes/FormOptions.php
b/includes/FormOptions.php
index
1cfe88e
..
8411bc4
100644
(file)
--- 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 );