Skip to content

Commit c5335b0

Browse files
committed
Tokens: fix last use of property vs constant
Follow up on 1021, which addressed 500. Oops... missed one ;-)
1 parent b8c4907 commit c5335b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Util/Tokens.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,7 @@ public static function getHighestWeightedToken(array $tokens)
948948
$highest = -1;
949949
$highestType = false;
950950

951-
$weights = self::$weightings;
951+
$weights = self::WEIGHTINGS;
952952

953953
foreach ($tokens as $token) {
954954
if (isset($weights[$token]) === true) {

0 commit comments

Comments
 (0)