aboutsummaryrefslogtreecommitdiffstats
path: root/includes/installer/DatabaseUpdater.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/installer/DatabaseUpdater.php')
-rw-r--r--includes/installer/DatabaseUpdater.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/installer/DatabaseUpdater.php b/includes/installer/DatabaseUpdater.php
index 8c1d1b4cdd4f..98d4ef3aed09 100644
--- a/includes/installer/DatabaseUpdater.php
+++ b/includes/installer/DatabaseUpdater.php
@@ -133,7 +133,7 @@ abstract class DatabaseUpdater {
protected function __construct(
IMaintainableDatabase &$db,
$shared,
- Maintenance $maintenance = null
+ ?Maintenance $maintenance = null
) {
$this->db = $db;
$this->db->setFlag( DBO_DDLMODE );
@@ -229,7 +229,7 @@ abstract class DatabaseUpdater {
public static function newForDB(
IMaintainableDatabase $db,
$shared = false,
- Maintenance $maintenance = null
+ ?Maintenance $maintenance = null
) {
$type = $db->getType();
if ( in_array( $type, Installer::getDBTypes() ) ) {