mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 06:03:49 +00:00
Merge "Fix supposedly nullable argument"
This commit is contained in:
commit
c02133ac08
|
@ -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