X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fspecialpage%2FAuthManagerSpecialPage.php;h=bdf76384c8e6ecd2e513ced019c19f0da7dc16a7;hp=3adf5a6fa293a1279b1253164f5379e01bcc2fa5;hb=9964ca1a390c446397dcd466916ffed356cdc3c9;hpb=e14ac4bcb8136332694ce417213b2a6099c44c6f diff --git a/includes/specialpage/AuthManagerSpecialPage.php b/includes/specialpage/AuthManagerSpecialPage.php index 3adf5a6fa2..bdf76384c8 100644 --- a/includes/specialpage/AuthManagerSpecialPage.php +++ b/includes/specialpage/AuthManagerSpecialPage.php @@ -43,7 +43,7 @@ abstract class AuthManagerSpecialPage extends SpecialPage { * Change the form descriptor that determines how a field will look in the authentication form. * Called from fieldInfoToFormDescriptor(). * @param AuthenticationRequest[] $requests - * @param string $fieldInfo Field information array (union of all + * @param array $fieldInfo Field information array (union of all * AuthenticationRequest::getFieldInfo() responses). * @param array $formDescriptor HTMLForm descriptor. The special key 'weight' can be set to * change the order of the fields. @@ -205,6 +205,7 @@ abstract class AuthManagerSpecialPage extends SpecialPage { /** * Return custom message key. * Allows subclasses to customize messages. + * @param string $defaultKey * @return string */ protected function messageKey( $defaultKey ) { @@ -668,6 +669,7 @@ abstract class AuthManagerSpecialPage extends SpecialPage { * Maps an authentication field configuration for a single field (as returned by * AuthenticationRequest::getFieldInfo()) to a HTMLForm field descriptor. * @param array $singleFieldInfo + * @param string $fieldName * @return array */ protected static function mapSingleFieldInfo( $singleFieldInfo, $fieldName ) {