Fix typos

This commit is contained in:
Markus Staab 2019-12-25 19:57:18 +01:00 committed by GitHub
parent a8b194244b
commit 05254b4176
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,8 +47,8 @@ foreach ($fileInfos as $fileInfo) {
### 2.2 Rectify Phase
- When all nodes are ready, applicies iterates all active Rector
- Each nodes is compared to `$rector->getNodeTypes()` method to see, if this Rector should do some work on it, e.g. is this class name called `OldClassName`?
- When all nodes are ready, applicies iterates all active Rectors
- Each node is compared to `$rector->getNodeTypes()` method to see, if this Rector should do some work on it, e.g. is this class name called `OldClassName`?
- If it doesn't match, it goes to next node.
- If it matches, the `$rector->reconstruct($node)` method is called
- Active Rector changes all what he should and returns changed node