From 5dfc160f1d74ff1b0598eb1dbd9b758cf20b0b38 Mon Sep 17 00:00:00 2001 From: danogentili Date: Wed, 23 Aug 2017 17:50:21 +0300 Subject: [PATCH] aaaa --- src/danog/MadelineProto/TL/TL.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/danog/MadelineProto/TL/TL.php b/src/danog/MadelineProto/TL/TL.php index 12d362dd..80510515 100644 --- a/src/danog/MadelineProto/TL/TL.php +++ b/src/danog/MadelineProto/TL/TL.php @@ -220,7 +220,8 @@ trait TL { $res = []; foreach ($this->methods->method_namespace as $pair) { - $res[$pair[0]] = $pair[0]; + list($a, $b) = $pair; + $res[$a] = $a; } return $res;