[REF][PHP8.2] Fix use of self in callables deprecation
authorBradley Taylor <hello@brad-taylor.co.uk>
Sun, 12 Mar 2023 10:18:27 +0000 (10:18 +0000)
committerBradley Taylor <hello@brad-taylor.co.uk>
Sun, 12 Mar 2023 10:18:27 +0000 (10:18 +0000)
CRM/Dedupe/BAO/DedupeRuleGroup.php

index dc25dc02b4ba310334f39d9c3c628e04e7dfd76e..e659dc1898dc8eb444131e4778618dd74604bb33 100644 (file)
@@ -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']);
   }
 
   /**