summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'MLEB/Translate/api/ApiQueryManageMessageGroups.php')
-rw-r--r--MLEB/Translate/api/ApiQueryManageMessageGroups.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/MLEB/Translate/api/ApiQueryManageMessageGroups.php b/MLEB/Translate/api/ApiQueryManageMessageGroups.php
index 84387b47..0e647de3 100644
--- a/MLEB/Translate/api/ApiQueryManageMessageGroups.php
+++ b/MLEB/Translate/api/ApiQueryManageMessageGroups.php
@@ -107,7 +107,7 @@ class ApiQueryManageMessageGroups extends ApiQueryBase {
}
// sort them based on similarity
- usort( $renameList, function ( $a, $b ) {
+ usort( $renameList, static function ( $a, $b ) {
return -( $a['similarity'] <=> $b['similarity'] );
} );