From e80884549c858a972a1ae96e75fd1a2185977eb9 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Sat, 8 May 2021 00:03:13 +0200 Subject: [PATCH] Use ::class for class name Change-Id: I43364430206207b49d702c842cdc8a74ca0c4102 --- includes/EchoHooks.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/EchoHooks.php b/includes/EchoHooks.php index 8410e0b9d..c6895c62c 100644 --- a/includes/EchoHooks.php +++ b/includes/EchoHooks.php @@ -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,