chore: fix comment

Signed-off-by: evenevent <digping@icloud.com>
This commit is contained in:
evenevent 2024-08-14 00:17:46 +08:00 committed by Nikita Popov
parent 4a22c15169
commit ba14437165

View File

@ -185,7 +185,7 @@ class NameContext {
// Check for relevant type-specific use statements
foreach ($this->origAliases[$type] as $alias => $orig) {
if ($type === Stmt\Use_::TYPE_CONSTANT) {
// Constants are are complicated-sensitive
// Constants are complicated-sensitive
$normalizedOrig = $this->normalizeConstName($orig->toString());
if ($normalizedOrig === $this->normalizeConstName($name)) {
$possibleNames[] = new Name($alias);