aboutsummaryrefslogtreecommitdiffstats
path: root/maintenance/includes/MaintenanceRunner.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/includes/MaintenanceRunner.php')
-rw-r--r--maintenance/includes/MaintenanceRunner.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/maintenance/includes/MaintenanceRunner.php b/maintenance/includes/MaintenanceRunner.php
index 625fac947a9f..43f3441267d4 100644
--- a/maintenance/includes/MaintenanceRunner.php
+++ b/maintenance/includes/MaintenanceRunner.php
@@ -64,7 +64,7 @@ class MaintenanceRunner {
$this->addDefaultParams();
}
- private function getConfig() {
+ private function getConfig(): Config {
if ( $this->config === null ) {
$this->config = $this->getServiceContainer()->getMainConfig();
}
@@ -222,7 +222,7 @@ class MaintenanceRunner {
}
}
- private static function isAbsolutePath( $path ) {
+ private static function isAbsolutePath( string $path ): bool {
if ( str_starts_with( $path, '/' ) ) {
return true;
}