From 281669aeb4b09c05b285d5727cb394c461ce9efa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Sun, 7 May 2023 10:19:38 +0200 Subject: [PATCH] Add support for true standalone type when generating methodsynopsis --- build/gen_stub.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/build/gen_stub.php b/build/gen_stub.php index c0b02b03738..f3b3b5fcc75 100755 --- a/build/gen_stub.php +++ b/build/gen_stub.php @@ -725,11 +725,7 @@ class Type { } } else { $type = $this->types[0]; - if ($type->isBuiltin && strtolower($type->name) === "true") { - $name = "bool"; - } else { - $name = $type->name; - } + $name = $type->name; $typeElement = $doc->createElement('type', $name); }