mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-27 17:20:40 +00:00
Use ::class for class name
Change-Id: I43364430206207b49d702c842cdc8a74ca0c4102
This commit is contained in:
parent
b57d0232e2
commit
e80884549c
|
@ -128,14 +128,14 @@ class EchoHooks implements RecentChange_saveHook {
|
|||
public static function onResourceLoaderRegisterModules( ResourceLoader $resourceLoader ) {
|
||||
global $wgExtensionDirectory, $wgEchoNotificationIcons, $wgEchoSecondaryIcons;
|
||||
$resourceLoader->register( 'ext.echo.emailicons', [
|
||||
'class' => 'ResourceLoaderEchoImageModule',
|
||||
'class' => ResourceLoaderEchoImageModule::class,
|
||||
'icons' => $wgEchoNotificationIcons,
|
||||
'selector' => '.mw-echo-icon-{name}',
|
||||
'localBasePath' => $wgExtensionDirectory,
|
||||
'remoteExtPath' => 'Echo/modules'
|
||||
] );
|
||||
$resourceLoader->register( 'ext.echo.secondaryicons', [
|
||||
'class' => 'ResourceLoaderEchoImageModule',
|
||||
'class' => ResourceLoaderEchoImageModule::class,
|
||||
'icons' => $wgEchoSecondaryIcons,
|
||||
'selector' => '.mw-echo-icon-{name}',
|
||||
'localBasePath' => $wgExtensionDirectory,
|
||||
|
@ -437,7 +437,7 @@ class EchoHooks implements RecentChange_saveHook {
|
|||
) );
|
||||
}
|
||||
$preferences['echo-subscriptions'] = [
|
||||
'class' => 'HTMLCheckMatrix',
|
||||
'class' => HTMLCheckMatrix::class,
|
||||
'section' => 'echo/echosubscriptions',
|
||||
'rows' => $rows,
|
||||
'columns' => $columns,
|
||||
|
|
Loading…
Reference in a new issue