X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FFormOptions.php;h=c91c336762f645330fa0180d9b5297262982441e;hp=a8da67e5ef158b636f26601e5ac2daf447fc6973;hb=a2ea9f8b9289f197844e3282c2ac39e59c549996;hpb=84fa4c83016089396c64c9cfccf5bb32cde40a57 diff --git a/includes/FormOptions.php b/includes/FormOptions.php index a8da67e5ef..c91c336762 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; @@ -375,6 +375,7 @@ class FormOptions implements ArrayAccess { /* @{ */ /** * Whether the option exists. + * @param string $name * @return bool */ public function offsetExists( $name ) { @@ -383,6 +384,7 @@ class FormOptions implements ArrayAccess { /** * Retrieve an option value. + * @param string $name * @return mixed */ public function offsetGet( $name ) { @@ -391,6 +393,8 @@ class FormOptions implements ArrayAccess { /** * Set an option to given value. + * @param string $name + * @param mixed $value */ public function offsetSet( $name, $value ) { $this->setValue( $name, $value ); @@ -398,6 +402,7 @@ class FormOptions implements ArrayAccess { /** * Delete the option. + * @param string $name */ public function offsetUnset( $name ) { $this->delete( $name );