Add type hints to getBetaFeaturePreferences

Change-Id: I3f72dbfae1e35a65789a420a71a7aab4f49ad05b
This commit is contained in:
Leszek Manicki 2016-08-19 12:05:17 +02:00
parent 2a00a235cf
commit 4f81f54272

View file

@ -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'] = [