$importer = new WikiImporter( $source, $this->getConfig() );
$importer->setRevisionCallback(
- array( $this, 'handleRevision' ) );
+ [ $this, 'handleRevision' ] );
$this->from = $this->getOption( 'from', null );
$this->count = 0;
/**
* Callback function for each revision, child classes should override
* processRevision instead.
- * @param DatabaseBase $rev
+ * @param WikiRevision $rev
*/
public function handleRevision( $rev ) {
$title = $rev->getTitle();