This is for all classes with 2 or more undeclared properties.
Change-Id: I1d80deb31f331bcc277b33f9e9f74857ba825637
/** @var array Map of action to the expiry time of the existing protection */
protected $mExistingExpiry = [];
/** @var array Map of action to the expiry time of the existing protection */
protected $mExistingExpiry = [];
+ /** @var Article */
+ protected $mArticle;
+
+ /** @var Title */
+ protected $mTitle;
+
+ /** @var bool */
+ protected $disabled;
+
+ /** @var array */
+ protected $disabledAttrib;
+
/** @var IContextSource */
private $mContext;
/** @var IContextSource */
private $mContext;
if ( wfReadOnly() ) {
$this->mPermErrors[] = [ 'readonlytext', wfReadOnlyReason() ];
}
if ( wfReadOnly() ) {
$this->mPermErrors[] = [ 'readonlytext', wfReadOnlyReason() ];
}
- $this->disabled = $this->mPermErrors != [];
+ $this->disabled = $this->mPermErrors !== [];
$this->disabledAttrib = $this->disabled
? [ 'disabled' => 'disabled' ]
: [];
$this->disabledAttrib = $this->disabled
? [ 'disabled' => 'disabled' ]
: [];
* @ingroup Dump
*/
class DumpMultiWriter {
* @ingroup Dump
*/
class DumpMultiWriter {
+ /** @var array */
+ private $sinks;
+ /** @var int */
+ private $count;
/**
* @param array $sinks
/**
* @param array $sinks
/** @var IDatabase */
protected $db;
/** @var IDatabase */
protected $db;
+ /** @var string */
+ protected $oldHash;
+
+ /** @var string */
+ protected $newHash;
+
+ /** @var string */
+ protected $oldName;
+
+ /** @var string */
+ protected $newName;
+
+ /** @var string */
+ protected $oldRel;
+
+ /** @var string */
+ protected $newRel;
+
/**
* @param File $file
* @param Title $target
/**
* @param File $file
* @param Title $target
/** @var array */
protected $mAttribs = [];
/** @var array */
protected $mAttribs = [];
+ /** @var int */
+ protected $mPerRow;
+
+ /** @var int */
+ protected $mWidths;
+
+ /** @var int */
+ protected $mHeights;
+
/** @var array */
private static $modeMapping;
/** @var array */
private static $modeMapping;
* @ingroup SpecialPage
*/
class ImportStringSource implements ImportSource {
* @ingroup SpecialPage
*/
class ImportStringSource implements ImportSource {
+ /** @var string */
+ private $mString;
+
+ /** @var bool */
+ private $mRead;
+
/**
* @param string $string
*/
/**
* @param string $string
*/
/** @var bool */
private $actionRestrictionsEnforced = false;
/** @var bool */
private $actionRestrictionsEnforced = false;
+ /** @var array */
+ private $mConds;
+
+ /** @var string */
+ private $mTagFilter;
+
/** @var LogEventsList */
public $mLogEventsList;
/** @var LogEventsList */
public $mLogEventsList;