diff --git a/build/gen_stub.php b/build/gen_stub.php index 153e3a681c0..f49958243cf 100755 --- a/build/gen_stub.php +++ b/build/gen_stub.php @@ -357,11 +357,6 @@ class SimpleType { return new SimpleType("object", true); } - public static function void(): SimpleType - { - return new SimpleType("void", true); - } - protected function __construct(string $name, bool $isBuiltin) { $this->name = $name; $this->isBuiltin = $isBuiltin;