From 739280cdf806286b3e907962b6638fc587f75053 Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Thu, 30 Dec 2021 02:10:47 +0100 Subject: [PATCH] Bugfix --- td/generate/JavadocTlDocumentationGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td/generate/JavadocTlDocumentationGenerator.php b/td/generate/JavadocTlDocumentationGenerator.php index d8d935b0c..c2cc33024 100644 --- a/td/generate/JavadocTlDocumentationGenerator.php +++ b/td/generate/JavadocTlDocumentationGenerator.php @@ -198,7 +198,7 @@ EOT protected function addClassDocumentation($class_name, $base_class_name, $return_type, $description) { - $this->addDocumentation(" public static class $class_name extends ".($base_class_name == "Function" ? "Function" : $base_class_name).(empty($return_type) ? "" : "<".$return_type.">")." {", <<addDocumentation(" public static class ".($class_name == "Function" ? "Function" : $class_name)." extends ".$base_class_name.(empty($return_type) ? "" : "<".$return_type.">")." {", <<