Fix typo in UPGRADE-4.0 (#498)

This commit is contained in:
Gabriel Caruso 2018-05-05 18:45:25 -03:00 committed by Nikita Popov
parent 9202d87f53
commit e6452e8d15

View File

@ -62,7 +62,7 @@ HHVM is no longer actively supported.
### Removed functionality ### Removed functionality
* Removed `type` subnode on `Class`, `ClassMethod` and `Property` nodes. Use `flags` instead. * Removed `type` subnode on `Class_`, `ClassMethod` and `Property` nodes. Use `flags` instead.
* The `ClassConst::isStatic()` method has been removed. Constants cannot have a static modifier. * The `ClassConst::isStatic()` method has been removed. Constants cannot have a static modifier.
* The `NodeTraverser` no longer accepts `false` as a return value from a `leaveNode()` method. * The `NodeTraverser` no longer accepts `false` as a return value from a `leaveNode()` method.
`NodeTraverser::REMOVE_NODE` should be returned instead. `NodeTraverser::REMOVE_NODE` should be returned instead.