summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUmherirrender <umherirrender_de.wp@web.de>2021-12-30 21:23:32 +0100
committerUmherirrender <umherirrender_de.wp@web.de>2021-12-30 21:23:32 +0100
commit85aa34f49ea1733eaa01ee2e45f5dcb999d0493d (patch)
tree0c2ec0ec4c75a9dafe16393855baf305a2ded98b
parent60faebb725998e1999bb3cc9c875eabf3364c60d (diff)
updater: Use ::class to refer class names
Makes it easier in IDE to click on them Change-Id: I19f553ed4fb9e243ccc29a511d0cb149fc8255ef
-rw-r--r--includes/installer/DatabaseUpdater.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/installer/DatabaseUpdater.php b/includes/installer/DatabaseUpdater.php
index ff7faca5188d..8e61550517ee 100644
--- a/includes/installer/DatabaseUpdater.php
+++ b/includes/installer/DatabaseUpdater.php
@@ -1272,7 +1272,7 @@ abstract class DatabaseUpdater {
"databases, you may want to hit Ctrl-C and do this manually with\n" .
"maintenance/migrateActors.php.\n"
);
- $task = $this->maintenance->runChild( 'MigrateActors', 'migrateActors.php' );
+ $task = $this->maintenance->runChild( MigrateActors::class, 'migrateActors.php' );
$ok = $task->execute();
$this->output( $ok ? "done.\n" : "errors were encountered.\n" );
}
@@ -1306,7 +1306,7 @@ abstract class DatabaseUpdater {
}
if ( $info->isNullable() ) {
$this->output( "Populating ar_rev_id.\n" );
- $task = $this->maintenance->runChild( 'PopulateArchiveRevId', 'populateArchiveRevId.php' );
+ $task = $this->maintenance->runChild( PopulateArchiveRevId::class, 'populateArchiveRevId.php' );
if ( $task->execute() ) {
$this->applyPatch( 'patch-ar_rev_id-not-null.sql', false,
'Making ar_rev_id not nullable' );
@@ -1325,7 +1325,7 @@ abstract class DatabaseUpdater {
"databases, you may want to hit Ctrl-C and do this manually with\n" .
"maintenance/populateExternallinksIndex60.php.\n"
);
- $task = $this->maintenance->runChild( 'PopulateExternallinksIndex60',
+ $task = $this->maintenance->runChild( PopulateExternallinksIndex60::class,
'populateExternallinksIndex60.php' );
$task->execute();
$this->output( "done.\n" );