From 368febbf89cd1124b4041b126152255bd3fc89f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Tue, 7 Mar 2023 09:08:16 +0100 Subject: [PATCH] Remove unnecessary workaround for the true type --- build/gen_stub.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/build/gen_stub.php b/build/gen_stub.php index e0f59fab3fb..f62d2d7a6ba 100755 --- a/build/gen_stub.php +++ b/build/gen_stub.php @@ -218,11 +218,6 @@ class SimpleType { return new SimpleType($node->toLowerString(), true); } - if ($node->toLowerString() === 'true') { - // TODO PHP-Parser doesn't yet recognize true as a stand-alone built-in type - return new SimpleType($node->toLowerString(), true); - } - if ($node->toLowerString() === 'self') { throw new Exception('The exact class name must be used instead of "self"'); }