Fix documentation.
GitOrigin-RevId: 84730331f206451dee9232611f7af985792bd766
This commit is contained in:
parent
88788b2460
commit
56bc1548ff
@ -241,11 +241,11 @@ abstract class TlDocumentationGenerator
|
|||||||
}
|
}
|
||||||
$this->addClassDocumentation($class_name, $base_class_name, $class_description);
|
$this->addClassDocumentation($class_name, $base_class_name, $class_description);
|
||||||
|
|
||||||
foreach ($known_fields as $field_name => $field_type) {
|
foreach ($known_fields as $name => $field_type) {
|
||||||
$may_be_null = stripos($info[$field_name], 'may be null') !== false;
|
$may_be_null = stripos($info[$field_name], 'may be null') !== false;
|
||||||
$field_name = $this->getFieldName($field_name, $class_name);
|
$field_name = $this->getFieldName($name, $class_name);
|
||||||
$field_type_name = $this->getTypeName($field_type);
|
$field_type_name = $this->getTypeName($field_type);
|
||||||
$this->addFieldDocumentation($class_name, $field_name, $field_type_name, $info[$field_name], $may_be_null);
|
$this->addFieldDocumentation($class_name, $field_name, $field_type_name, $info[$name], $may_be_null);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($is_function) {
|
if ($is_function) {
|
||||||
|
Reference in New Issue
Block a user