Really fix documentation.
GitOrigin-RevId: 0114466a4d0b97c8f8ab336fb30f780eac4010c5
This commit is contained in:
parent
56bc1548ff
commit
589edf60b1
@ -242,7 +242,7 @@ abstract class TlDocumentationGenerator
|
||||
$this->addClassDocumentation($class_name, $base_class_name, $class_description);
|
||||
|
||||
foreach ($known_fields as $name => $field_type) {
|
||||
$may_be_null = stripos($info[$field_name], 'may be null') !== false;
|
||||
$may_be_null = stripos($info[$name], 'may be null') !== false;
|
||||
$field_name = $this->getFieldName($name, $class_name);
|
||||
$field_type_name = $this->getTypeName($field_type);
|
||||
$this->addFieldDocumentation($class_name, $field_name, $field_type_name, $info[$name], $may_be_null);
|
||||
|
Loading…
Reference in New Issue
Block a user