From c5335b02edb2bc5936aa62fda7eb62f3f5aad690 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Fri, 18 Apr 2025 11:03:15 +0200 Subject: [PATCH] Tokens: fix last use of property vs constant Follow up on 1021, which addressed 500. Oops... missed one ;-) --- src/Util/Tokens.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Util/Tokens.php b/src/Util/Tokens.php index 17d0651bdd..a74c5cedac 100644 --- a/src/Util/Tokens.php +++ b/src/Util/Tokens.php @@ -948,7 +948,7 @@ public static function getHighestWeightedToken(array $tokens) $highest = -1; $highestType = false; - $weights = self::$weightings; + $weights = self::WEIGHTINGS; foreach ($tokens as $token) { if (isset($weights[$token]) === true) {