/**
* No authentication errors.
- *
- * @var constant
*/
const AUTH_NO_ERROR = 200;
/**
* Temporary authentication error; recovered by reauthenticating.
- *
- * @var constant
*/
const AUTH_ERROR_TEMPORARY = 201;
/**
* Authentication error was permanent and could not be recovered.
- *
- * @var constant
*/
const AUTH_ERROR_PERMANENT = 202;
/**
* Handle authentication errors and automatically reauthenticate.
*
- * @return constant self::AUTH_NO_ERROR, self::AUTH_ERROR_TEMPORARY, or self::AUTH_ERROR_PERMANENT
+ * @return int self::AUTH_NO_ERROR, self::AUTH_ERROR_TEMPORARY, or self::AUTH_ERROR_PERMANENT
*/
private function checkAuthentication() {
if ( preg_match( '/^ERR operation not permitted\b/', $this->conn->getLastError() ) ) {