Three fields were undeclared, thus raising some phan warnings.
Change-Id: Ib7934b507cb69d29a3d2422dadc24b12207a12ad
/** @var XmlDumpWriter */
private $writer;
+ /** @var IDatabase */
+ protected $db;
+
+ /** @var array|int */
+ protected $history;
+
+ /** @var array|null */
+ protected $limitNamespaces;
+
/**
* Returns the default export schema version, as defined by $wgXmlDumpSchemaVersion.
* @return string
* @param null|array $limitNamespaces Comma-separated list of namespace numbers
* to limit results
*/
- function __construct( $db, $history = self::CURRENT, $text = self::TEXT,
- $limitNamespaces = null
+ function __construct(
+ $db,
+ $history = self::CURRENT,
+ $text = self::TEXT,
+ $limitNamespaces = null
) {
$this->db = $db;
$this->history = $history;