diff --git a/includes/AbuseFilter.hooks.php b/includes/AbuseFilter.hooks.php index 5bb0141bb..984dedb6a 100644 --- a/includes/AbuseFilter.hooks.php +++ b/includes/AbuseFilter.hooks.php @@ -501,11 +501,11 @@ class AbuseFilterHooks { } /** - * @param DatabaseUpdater|null $updater + * @param DatabaseUpdater $updater * @throws MWException * @return bool */ - public static function onLoadExtensionSchemaUpdates( $updater = null ) { + public static function onLoadExtensionSchemaUpdates( DatabaseUpdater $updater ) { $dir = dirname( __DIR__ ); if ( $updater->getDB()->getType() == 'mysql' || $updater->getDB()->getType() == 'sqlite' ) {