Skip to content

Commit

Permalink
chore: fix comment
Browse files Browse the repository at this point in the history
Signed-off-by: evenevent <digping@icloud.com>
  • Loading branch information
evenevent authored and nikic committed Aug 15, 2024
1 parent 4a22c15 commit ba14437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/PhpParser/NameContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ba14437

Please sign in to comment.