1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 05:34:42 +01:00

Small fix

This commit is contained in:
danogentili 2017-08-23 15:53:24 +03:00
parent 76fc5b9203
commit ec5b3e2d18

View File

@ -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()