Skip to content

Commit ea5d0bf

Browse files
committed
Update
1 parent 001ca17 commit ea5d0bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Fixer/TypedClassConstantFixer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ private static function getTypeOfExpression(Tokens $tokens, int $index): string
129129
$foundKinds = [];
130130
continue;
131131
}
132-
$foundKinds[] = $tokens[$index]->getId() ?? $tokens[$index]->getContent();
132+
$foundKinds[] = $kind;
133133

134134
$index = $tokens->getNextMeaningfulToken($index);
135135
\assert(\is_int($index));

0 commit comments

Comments
 (0)