diff options
Diffstat (limited to 'includes/export')
-rw-r--r-- | includes/export/DumpFileOutput.php | 7 | ||||
-rw-r--r-- | includes/export/WikiExporter.php | 4 |
2 files changed, 7 insertions, 4 deletions
diff --git a/includes/export/DumpFileOutput.php b/includes/export/DumpFileOutput.php index 4bec7d4532b5..d0256fd877f2 100644 --- a/includes/export/DumpFileOutput.php +++ b/includes/export/DumpFileOutput.php @@ -27,7 +27,10 @@ * @ingroup Dump */ class DumpFileOutput extends DumpOutput { - protected $handle = false, $filename; + /** @var resource|false */ + protected $handle = false; + /** @var string */ + protected $filename; /** * @param string $file @@ -73,7 +76,7 @@ class DumpFileOutput extends DumpOutput { } /** - * @param array $newname + * @param string|string[] $newname * @return string * @throws MWException */ diff --git a/includes/export/WikiExporter.php b/includes/export/WikiExporter.php index fe6dadfe22fb..3ab88e29279a 100644 --- a/includes/export/WikiExporter.php +++ b/includes/export/WikiExporter.php @@ -125,7 +125,7 @@ class WikiExporter { * various row objects and XML output for filtering. Filters * can be chained or used as callbacks. * - * @param DumpOutput &$sink + * @param DumpOutput|DumpFilter &$sink */ public function setOutputSink( &$sink ) { $this->sink =& $sink; @@ -240,7 +240,7 @@ class WikiExporter { * Not called by default (depends on $this->list_authors) * Can be set by Special:Export when not exporting whole history * - * @param array $cond + * @param string $cond */ protected function do_list_authors( $cond ) { $this->author_list = "<contributors>"; |