From ba144371652fc11abb104affdb29a1040a0f41ed Mon Sep 17 00:00:00 2001 From: evenevent Date: Wed, 14 Aug 2024 00:17:46 +0800 Subject: [PATCH] chore: fix comment Signed-off-by: evenevent --- lib/PhpParser/NameContext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PhpParser/NameContext.php b/lib/PhpParser/NameContext.php index 292df691af..2265ecce82 100644 --- a/lib/PhpParser/NameContext.php +++ b/lib/PhpParser/NameContext.php @@ -185,7 +185,7 @@ public function getPossibleNames(string $name, int $type): array { // 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);