Merge "Skin: Make skins aware of their registered skin name"
[lhc/web/wiklou.git] / includes / specialpage / AuthManagerSpecialPage.php
index 9b77b73..0cdc55f 100644 (file)
@@ -474,7 +474,7 @@ abstract class AuthManagerSpecialPage extends SpecialPage {
        /**
         * Submit handler callback for HTMLForm
         * @private
-        * @param $data array Submitted data
+        * @param array $data Submitted data
         * @return Status
         */
        public function handleFormSubmit( $data ) {
@@ -598,7 +598,7 @@ abstract class AuthManagerSpecialPage extends SpecialPage {
        /**
         * Adds a sequential tabindex starting from 1 to all form elements. This way the user can
         * use the tab key to traverse the form without having to step through all links and such.
-        * @param $formDescriptor
+        * @param array &$formDescriptor
         */
        protected function addTabIndex( &$formDescriptor ) {
                $i = 1;
@@ -688,7 +688,7 @@ abstract class AuthManagerSpecialPage extends SpecialPage {
 
                        if ( isset( $singleFieldInfo['options'] ) ) {
                                $descriptor['options'] = array_flip( array_map( function ( $message ) {
-                                       /** @var $message Message */
+                                       /** @var Message $message */
                                        return $message->parse();
                                }, $singleFieldInfo['options'] ) );
                        }