Clean up spacing of doc comments
[lhc/web/wiklou.git] / includes / auth / AuthManager.php
index 5915d35..c871ce1 100644 (file)
@@ -24,6 +24,7 @@
 namespace MediaWiki\Auth;
 
 use Config;
+use MediaWiki\Block\DatabaseBlock;
 use MediaWiki\MediaWikiServices;
 use Psr\Log\LoggerAwareInterface;
 use Psr\Log\LoggerInterface;
@@ -85,17 +86,20 @@ class AuthManager implements LoggerAwareInterface {
        /** Log in with an existing (not necessarily local) user */
        const ACTION_LOGIN = 'login';
        /** Continue a login process that was interrupted by the need for user input or communication
-        * with an external provider */
+        * with an external provider
+        */
        const ACTION_LOGIN_CONTINUE = 'login-continue';
        /** Create a new user */
        const ACTION_CREATE = 'create';
        /** Continue a user creation process that was interrupted by the need for user input or
-        * communication with an external provider */
+        * communication with an external provider
+        */
        const ACTION_CREATE_CONTINUE = 'create-continue';
        /** Link an existing user to a third-party account */
        const ACTION_LINK = 'link';
        /** Continue a user linking process that was interrupted by the need for user input or
-        * communication with an external provider */
+        * communication with an external provider
+        */
        const ACTION_LINK_CONTINUE = 'link-continue';
        /** Change a user's credentials */
        const ACTION_CHANGE = 'change';
@@ -826,7 +830,7 @@ class AuthManager implements LoggerAwareInterface {
                return array_keys( $ret );
        }
 
-       /**@}*/
+       /** @} */
 
        /**
         * @name Authentication data changing
@@ -907,7 +911,7 @@ class AuthManager implements LoggerAwareInterface {
                }
        }
 
-       /**@}*/
+       /** @} */
 
        /**
         * @name Account creation
@@ -1010,7 +1014,7 @@ class AuthManager implements LoggerAwareInterface {
                                $block->getByName()
                        ];
 
-                       if ( $block->getType() === \Block::TYPE_RANGE ) {
+                       if ( $block->getType() === DatabaseBlock::TYPE_RANGE ) {
                                $errorMessage = 'cantcreateaccount-range-text';
                                $errorParams[] = $this->getRequest()->getIP();
                        } else {
@@ -1776,7 +1780,7 @@ class AuthManager implements LoggerAwareInterface {
                return Status::newGood();
        }
 
-       /**@}*/
+       /** @} */
 
        /**
         * @name Account linking
@@ -2001,7 +2005,7 @@ class AuthManager implements LoggerAwareInterface {
                }
        }
 
-       /**@}*/
+       /** @} */
 
        /**
         * @name Information methods
@@ -2234,7 +2238,7 @@ class AuthManager implements LoggerAwareInterface {
                return null;
        }
 
-       /**@}*/
+       /** @} */
 
        /**
         * @name Internal methods
@@ -2462,7 +2466,7 @@ class AuthManager implements LoggerAwareInterface {
                self::$instance = null;
        }
 
-       /**@}*/
+       /** @} */
 
 }