mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 10:59:02 +01:00
Small fix
This commit is contained in:
parent
76fc5b9203
commit
ec5b3e2d18
@ -218,7 +218,9 @@ trait TL
|
||||
|
||||
public function get_method_namespaces()
|
||||
{
|
||||
return array_unique($this->array_values($this->methods->method_namespace));
|
||||
$res = [];
|
||||
foreach ($this->methods->method_namespace as $pair) { $res[$pair[0]] = $pair[0]; }
|
||||
return $res;
|
||||
}
|
||||
|
||||
public function get_methods_namespaced()
|
||||
|
Loading…
Reference in New Issue
Block a user