X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FFormOptions.php;h=01318554982cbe119870df8662fea2735805adc4;hb=51e837f68f6df7fdc6cb35803e497bfc0532c861;hp=725a512980937c3b51c1c400711165e797526ce6;hpb=4518a5a86ce81faff53407d4603b8643144a9d33;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/FormOptions.php b/includes/FormOptions.php index 725a512980..0131855498 100644 --- a/includes/FormOptions.php +++ b/includes/FormOptions.php @@ -246,6 +246,9 @@ class FormOptions implements ArrayAccess { /** * @see validateBounds() + * @param string $name + * @param int $min + * @param int $max */ public function validateIntBounds( $name, $min, $max ) { $this->validateBounds( $name, $min, $max ); @@ -333,7 +336,7 @@ class FormOptions implements ArrayAccess { * available for accessing with getValue() or consumeValue() etc. * * @param WebRequest $r The request to fetch values from - * @param array $optionKeys Which options to fetch the values for (default: + * @param array|null $optionKeys Which options to fetch the values for (default: * all of them). Note that passing an empty array will also result in * values for all keys being fetched. * @throws MWException If the type of any option is invalid @@ -378,9 +381,10 @@ class FormOptions implements ArrayAccess { /** @name ArrayAccess functions * These functions implement the ArrayAccess PHP interface. - * @see https://secure.php.net/manual/en/class.arrayaccess.php + * @see https://www.php.net/manual/en/class.arrayaccess.php */ /* @{ */ + /** * Whether the option exists. * @param string $name