Cast namespaceId to int in SpecialEditWatchlist::cleanupWatchlist
[lhc/web/wiklou.git] / maintenance / importSites.php
index 8845c60..daec7b6 100644 (file)
@@ -31,7 +31,7 @@ class ImportSites extends Maintenance {
                $file = $this->getArg( 0 );
 
                $importer = new SiteImporter( SiteSQLStore::newInstance() );
-               $importer->setExceptionCallback( array( $this, 'reportException' ) );
+               $importer->setExceptionCallback( [ $this, 'reportException' ] );
 
                $importer->importFromFile( $file );