mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 01:34:40 +01:00
Final phpdoc fixes
This commit is contained in:
parent
bbb908ac68
commit
e3f6774588
@ -159,10 +159,6 @@ class AnnotationsBuilder
|
||||
if (isset($ignoreMethods[$name])) {
|
||||
continue;
|
||||
}
|
||||
$originalName = $name;
|
||||
if ($originalName === 'loop_async') {
|
||||
$originalName = 'loop';
|
||||
}
|
||||
|
||||
if ($name == 'method_call_async_read') {
|
||||
$name = 'method_call';
|
||||
@ -234,7 +230,7 @@ class AnnotationsBuilder
|
||||
$paramList = $hasVariadic ? "Tools::arr($paramList)" : "[$paramList]";
|
||||
|
||||
$doc .= "\n{\n";
|
||||
$doc .= " return \$this->__call('$originalName', $paramList);\n";
|
||||
$doc .= " return \$this->__call(__FUNCTION__, $paramList);\n";
|
||||
$doc .= "}\n";
|
||||
|
||||
$internalDoc['InternalDoc'][$name]['method'] = $method->getDocComment() ?? '';
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user