From 9c8e4ab952b1ac6f6464b56112cd7697ca5c8831 Mon Sep 17 00:00:00 2001 From: Bradley Taylor Date: Sun, 12 Mar 2023 10:18:27 +0000 Subject: [PATCH] [REF][PHP8.2] Fix use of self in callables deprecation --- CRM/Dedupe/BAO/DedupeRuleGroup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Dedupe/BAO/DedupeRuleGroup.php b/CRM/Dedupe/BAO/DedupeRuleGroup.php index dc25dc02b4..e659dc1898 100644 --- a/CRM/Dedupe/BAO/DedupeRuleGroup.php +++ b/CRM/Dedupe/BAO/DedupeRuleGroup.php @@ -342,7 +342,7 @@ class CRM_Dedupe_BAO_DedupeRuleGroup extends CRM_Dedupe_DAO_DedupeRuleGroup { * @param array $tableQueries */ public static function orderByTableCount(array &$tableQueries): void { - uksort($tableQueries, 'self::isTableBigger'); + uksort($tableQueries, [__CLASS__, 'isTableBigger']); } /** -- 2.25.1