All class properties are used solely in the class itself. SpecialUndelete
is not being subclassed, so made all properties private.
Change-Id: I32792fb5d21178d850764c0efe3024d957fca2a8
* @ingroup SpecialPage
*/
class SpecialUndelete extends SpecialPage {
- var $mAction, $mTarget, $mTimestamp, $mRestore, $mInvert, $mFilename;
- var $mTargetTimestamp, $mAllowed, $mCanView, $mComment, $mToken;
+ private $mAction;
+ private $mTarget;
+ private $mTimestamp;
+ private $mRestore;
+ private $mInvert;
+ private $mFilename;
+ private $mTargetTimestamp;
+ private $mAllowed;
+ private $mCanView;
+ private $mComment;
+ private $mToken;
/** @var Title */
- var $mTargetObj;
+ private $mTargetObj;
function __construct() {
parent::__construct( 'Undelete', 'deletedhistory' );