We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 648e896 commit 368febbCopy full SHA for 368febb
build/gen_stub.php
@@ -218,11 +218,6 @@ public static function fromNode(Node $node): SimpleType {
218
return new SimpleType($node->toLowerString(), true);
219
}
220
221
- if ($node->toLowerString() === 'true') {
222
- // TODO PHP-Parser doesn't yet recognize true as a stand-alone built-in type
223
- return new SimpleType($node->toLowerString(), true);
224
- }
225
-
226
if ($node->toLowerString() === 'self') {
227
throw new Exception('The exact class name must be used instead of "self"');
228
0 commit comments