We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ddd598 commit 78ff55bCopy full SHA for 78ff55b
ChangeLog.md
@@ -3,6 +3,12 @@ XP AST ChangeLog
3
4
## ?.?.? / ????-??-??
5
6
+## 11.8.0 / 2025-12-21
7
+
8
+* Made `lang.ast.syntax.PHP::type0()` public. This method parses a single
9
+ type without support for unions and intersections
10
+ (@thekid)
11
12
## 11.7.1 / 2025-07-06
13
14
* Fixed more than one annotation on an element only yielding the last.
src/main/php/lang/ast/syntax/PHP.class.php
@@ -1245,7 +1245,7 @@ private function member($parse) {
1245
return $expr;
1246
}
1247
1248
- private function type0($parse, $optional) {
+ public function type0($parse, $optional= false) {
1249
static $literal= [
1250
'string' => true,
1251
'int' => true,
0 commit comments