From: Siebrand Mazeland Date: Sat, 22 Mar 2014 23:24:55 +0000 (+0100) Subject: Declare visibility on class properties of LoginForm X-Git-Tag: 1.31.0-rc.0~16493^2 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=843f94c2a47f8a0df120e986d63d724c0f6a6dfc;p=lhc%2Fweb%2Fwiklou.git Declare visibility on class properties of LoginForm Change-Id: Iaa291233d29aafb7805992de4eb636334f4a1664 --- diff --git a/includes/specials/SpecialUserlogin.php b/includes/specials/SpecialUserlogin.php index 1c9fed7260..8304db0876 100644 --- a/includes/specials/SpecialUserlogin.php +++ b/includes/specials/SpecialUserlogin.php @@ -43,26 +43,38 @@ class LoginForm extends SpecialPage { const NEED_TOKEN = 12; const WRONG_TOKEN = 13; - var $mUsername, $mPassword, $mRetype, $mReturnTo, $mCookieCheck, $mPosted; - var $mAction, $mCreateaccount, $mCreateaccountMail; - var $mLoginattempt, $mRemember, $mEmail, $mDomain, $mLanguage; - var $mSkipCookieCheck, $mReturnToQuery, $mToken, $mStickHTTPS; - var $mType, $mReason, $mRealName; - var $mAbortLoginErrorMsg = null; + public $mAbortLoginErrorMsg = null; + + protected $mUsername; + protected $mPassword; + protected $mRetype; + protected $mReturnTo; + protected $mCookieCheck; + protected $mPosted; + protected $mAction; + protected $mCreateaccount; + protected $mCreateaccountMail; + protected $mLoginattempt; + protected $mRemember; + protected $mEmail; + protected $mDomain; + protected $mLanguage; + protected $mSkipCookieCheck; + protected $mReturnToQuery; + protected $mToken; + protected $mStickHTTPS; + protected $mType; + protected $mReason; + protected $mRealName; + private $mTempPasswordUsed; private $mLoaded = false; private $mSecureLoginUrl; - /** - * @ var WebRequest - */ + /** @var WebRequest */ private $mOverrideRequest = null; - /** - * Effective request; set at the beginning of load - * - * @var WebRequest $mRequest - */ + /** @var WebRequest Effective request; set at the beginning of load */ private $mRequest = null; /**