From 2b1780b9e21eea5901ba92a291a9f92b586077b2 Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Thu, 30 Dec 2021 02:14:59 +0100 Subject: [PATCH] Bugfix --- td/generate/JavadocTlDocumentationGenerator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/td/generate/JavadocTlDocumentationGenerator.php b/td/generate/JavadocTlDocumentationGenerator.php index c2cc33024..120da8168 100644 --- a/td/generate/JavadocTlDocumentationGenerator.php +++ b/td/generate/JavadocTlDocumentationGenerator.php @@ -181,7 +181,7 @@ EOT protected function addAbstractClassDocumentation($class_name, $documentation) { - $this->addDocumentation(" public abstract static class $class_name extends Object {", <<addDocumentation(" public abstract static class ".($class_name == "Function" ? "Function" : $class_name)." extends Object {", <<addDocumentation(" public static class ".($class_name == "Function" ? "Function" : $class_name)." extends ".$base_class_name.(empty($return_type) ? "" : "<".$return_type.">")." {", <<addDocumentation(" public static class $class_name extends ".$base_class_name.(empty($return_type) ? "" : "<".$return_type.">")." {", <<