X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fhtmlform%2FHTMLFormField.php;h=590b9e7cb3a200ab2c12f50c539bc61a66e00355;hp=ff805d84fa9e2fb315f5026ff75ebf697d2f62b2;hb=11c9075767f315e41e637f76407109b21b16cb55;hpb=8b22883a66bcc7d54be7acb9898defa545751f86 diff --git a/includes/htmlform/HTMLFormField.php b/includes/htmlform/HTMLFormField.php index ff805d84fa..590b9e7cb3 100644 --- a/includes/htmlform/HTMLFormField.php +++ b/includes/htmlform/HTMLFormField.php @@ -367,7 +367,7 @@ abstract class HTMLFormField { * or the input's default value if it has not been set. * * @param WebRequest $request - * @return string The value + * @return mixed The value */ public function loadDataFromRequest( $request ) { if ( $request->getCheck( $this->mName ) ) { @@ -653,7 +653,7 @@ abstract class HTMLFormField { /** * Get a FieldLayout (or subclass thereof) to wrap this field in when using OOUI output. - * @param string $inputField + * @param OOUI\Widget $inputField * @param array $config * @return OOUI\FieldLayout|OOUI\ActionFieldLayout */ @@ -1032,7 +1032,7 @@ abstract class HTMLFormField { * Recursively forces values in an array to strings, because issues arise * with integer 0 as a value. * - * @param array $array + * @param array|string $array * @return array|string */ public static function forceToStringRecursive( $array ) {