mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-11-15 03:33:45 +00:00
Add type hints to getBetaFeaturePreferences
Change-Id: I3f72dbfae1e35a65789a420a71a7aab4f49ad05b
This commit is contained in:
parent
2a00a235cf
commit
4f81f54272
|
@ -106,7 +106,7 @@ class RevisionSliderHooks {
|
|||
return true;
|
||||
}
|
||||
|
||||
public static function getBetaFeaturePreferences( $user, &$prefs ) {
|
||||
public static function getBetaFeaturePreferences( User $user, array &$prefs ) {
|
||||
global $wgExtensionAssetsPath;
|
||||
|
||||
$prefs['revisionslider'] = [
|
||||
|
|
Loading…
Reference in a new issue