Explicitly declare ApiImport::getData() public
authorSiebrand Mazeland <siebrand@kitano.nl>
Tue, 8 Mar 2016 07:38:08 +0000 (08:38 +0100)
committerAnomie <bjorsch@wikimedia.org>
Tue, 8 Mar 2016 16:14:22 +0000 (16:14 +0000)
Used as such in this file.

Change-Id: I52cae5763132b606f0e4b67f1359baee9fdad1c8

includes/api/ApiImport.php

index c5a8a71..10106ff 100644 (file)
@@ -194,7 +194,7 @@ class ApiImportReporter extends ImportReporter {
                parent::reportPage( $title, $origTitle, $revisionCount, $successCount, $pageInfo );
        }
 
-       function getData() {
+       public function getData() {
                return $this->mResultArr;
        }
 }