Skip to content

Commit 368febb

Browse files
committed
Remove unnecessary workaround for the true type
1 parent 648e896 commit 368febb

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

build/gen_stub.php

-5
Original file line numberDiff line numberDiff line change
@@ -218,11 +218,6 @@ public static function fromNode(Node $node): SimpleType {
218218
return new SimpleType($node->toLowerString(), true);
219219
}
220220

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-
226221
if ($node->toLowerString() === 'self') {
227222
throw new Exception('The exact class name must be used instead of "self"');
228223
}

0 commit comments

Comments
 (0)