dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Cleanup a bunch of tests and add todos"
[lhc/web/wiklou.git]
/
includes
/
FormOptions.php
diff --git
a/includes/FormOptions.php
b/includes/FormOptions.php
index
cd6e207
..
a8da67e
100644
(file)
--- a/
includes/FormOptions.php
+++ b/
includes/FormOptions.php
@@
-373,22
+373,32
@@
class FormOptions implements ArrayAccess {
* @see http://php.net/manual/en/class.arrayaccess.php
*/
/* @{ */
* @see http://php.net/manual/en/class.arrayaccess.php
*/
/* @{ */
- /** Whether the option exists. */
+ /**
+ * Whether the option exists.
+ * @return bool
+ */
public function offsetExists( $name ) {
return isset( $this->options[$name] );
}
public function offsetExists( $name ) {
return isset( $this->options[$name] );
}
- /** Retrieve an option value. */
+ /**
+ * Retrieve an option value.
+ * @return mixed
+ */
public function offsetGet( $name ) {
return $this->getValue( $name );
}
public function offsetGet( $name ) {
return $this->getValue( $name );
}
- /** Set an option to given value. */
+ /**
+ * Set an option to given value.
+ */
public function offsetSet( $name, $value ) {
$this->setValue( $name, $value );
}
public function offsetSet( $name, $value ) {
$this->setValue( $name, $value );
}
- /** Delete the option. */
+ /**
+ * Delete the option.
+ */
public function offsetUnset( $name ) {
$this->delete( $name );
}
public function offsetUnset( $name ) {
$this->delete( $name );
}