Skip to content

Commit 38169d3

Browse files
committed
final touch: typo comment
1 parent 1c7d2f0 commit 38169d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Application/ChangedNodeScopeRefresher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function refresh(Node $node, string $filePath, ?MutatingScope $mutatingSc
6161
/**
6262
* The reindex is needed to:
6363
* - be used by PHPStan processNodes() that relies on indexed arrays start from 0
64-
* - use traverser to avoid issues when multiples rules apply, and higher node reindex deep node,
64+
* - use traverser to avoid issues when multiples rules apply, and higher node remove deep node,
6565
* which the next rule use deep node, for example:
6666
* - first rule: - Class_ → ClassMethod → remove stmt with index 0
6767
* - second rule: - ClassMethod → here fetch the index 0 that no longer exists

0 commit comments

Comments
 (0)