Skip to content

Commit 24a626e

Browse files
TysonAndrenikic
authored andcommitted
Fix a typo in README.md and the changelog
1 parent 4c8091e commit 24a626e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ Supported since 0.1.7 (2018-10-06).
471471

472472
* `AST_FUNC_DECL` and `AST_METHOD` no longer generate a `uses` child. Previously this child was
473473
always `null`.
474-
* `AST_FUNC_CONST_ELEM` now always has a `docComment` child. Previously it was absent on PHP 7.0.
474+
* `AST_CONST_ELEM` now always has a `docComment` child. Previously it was absent on PHP 7.0.
475475
On PHP 7.0 the value is always `null`.
476476

477477
### 50 (stable)

package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ This release is the same as version 0.1.7 with obsolete and deprecated functiona
138138
- Added AST version 60 with the following changes:
139139
- `AST_FUNC_DECL` and `AST_METHOD` no longer generate a `uses` child. Previously this child was
140140
always `null`.
141-
- `AST_FUNC_CONST_ELEM` now always has a `docComment` child. Previously it was absent on PHP 7.0.
141+
- `AST_CONST_ELEM` now always has a `docComment` child. Previously it was absent on PHP 7.0.
142142
On PHP 7.0 the value is always `null`.
143143
- Added `ARRAY_ELEM_REF` flag, which is used by `AST_ARRAY_ELEM` for by-reference array elements
144144
and (since PHP 7.3) for by-reference destructuring. Previously this flag was represented simply

0 commit comments

Comments
 (0)