X-Git-Url: https://git.cyclocoop.org/%28%28?a=blobdiff_plain;f=maintenance%2FdumpIterator.php;h=9f983c1a04a5f88299ab62ea7f3bdedbd833c7fc;hb=afd13a3c9ac3cff987afa2b0514cb5e02cfa7649;hp=0f39513fa058c98df696f8ed80d5ef967e4f24b2;hpb=03dbbef54fa3001d4d02c72b8b90f8cbe6a2f273;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/dumpIterator.php b/maintenance/dumpIterator.php index 0f39513fa0..9f983c1a04 100644 --- a/maintenance/dumpIterator.php +++ b/maintenance/dumpIterator.php @@ -76,7 +76,7 @@ abstract class DumpIterator extends Maintenance { $importer = new WikiImporter( $source, $this->getConfig() ); $importer->setRevisionCallback( - array( $this, 'handleRevision' ) ); + [ $this, 'handleRevision' ] ); $this->from = $this->getOption( 'from', null ); $this->count = 0; @@ -117,7 +117,7 @@ abstract class DumpIterator extends Maintenance { /** * Callback function for each revision, child classes should override * processRevision instead. - * @param DatabaseBase $rev + * @param Database $rev */ public function handleRevision( $rev ) { $title = $rev->getTitle();