Skip to content

Commit b096c44

Browse files
authored
Merge pull request #1029 from PHPCSStandards/feature/1021-token-property-use-follow-up
Tokens: fix last use of property vs constant
2 parents b8c4907 + c5335b0 commit b096c44

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)