diff --git a/td/generate/JavadocTlDocumentationGenerator.php b/td/generate/JavadocTlDocumentationGenerator.php index 0c33a4dee..922cf2151 100644 --- a/td/generate/JavadocTlDocumentationGenerator.php +++ b/td/generate/JavadocTlDocumentationGenerator.php @@ -157,7 +157,7 @@ EOT EOT ); - $this->addDocumentation(' public abstract static class Function extends Object {', <<addDocumentation(' public abstract static class Function extends Object {', <<addDocumentation(" public abstract static class ".(($class_name == "Function") ? "Function" : $class_name)." extends Object {", <<addDocumentation(" public abstract static class $class_name extends Object {", <<