X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FFormOptions.php;h=079267a246827126f9b1ae61060782a438e1fe05;hb=b9fd30a4e41c1ccce4afdcdd4f0fe8dbc47bf5e8;hp=cd6e207231358a06f45c60e20a423d0a88ef4cb6;hpb=29b86059736b251162e3ecad21f2f4a2d1bc0bbc;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/FormOptions.php b/includes/FormOptions.php index cd6e207231..079267a246 100644 --- a/includes/FormOptions.php +++ b/includes/FormOptions.php @@ -44,7 +44,7 @@ class FormOptions implements ArrayAccess { /** Integer type, maps guessType() to WebRequest::getInt() */ const INT = 1; /** Float type, maps guessType() to WebRequest::getFloat() - * @since 1.23 */ + * @since 1.23 */ const FLOAT = 4; /** Boolean type, maps guessType() to WebRequest::getBool() */ const BOOL = 2; @@ -373,22 +373,32 @@ class FormOptions implements ArrayAccess { * @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] ); } - /** Retrieve an option value. */ + /** + * Retrieve an option value. + * @return mixed + */ 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 ); } - /** Delete the option. */ + /** + * Delete the option. + */ public function offsetUnset( $name ) { $this->delete( $name ); }