mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 21:53:35 +00:00
Fix supposedly nullable argument
Change-Id: I81c467ce3483096c98041412a664b3a26735118a
This commit is contained in:
parent
d9f0bf1ff0
commit
5ae26bb5c6
|
@ -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' ) {
|
||||
|
|
Loading…
Reference in a new issue