diff --git a/RevisionSlider.hooks.php b/RevisionSlider.hooks.php index cd6104bc..c138b9f4 100644 --- a/RevisionSlider.hooks.php +++ b/RevisionSlider.hooks.php @@ -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'] = [