From 388bfcecc5f76d888c81dd3e1bfd4666a1befc0a Mon Sep 17 00:00:00 2001 From: HenkGrent Date: Thu, 14 Mar 2019 12:37:33 +0100 Subject: [PATCH] Remove useless self-assignment (#592) --- src/danog/MadelineProto/TL/TLMethod.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/danog/MadelineProto/TL/TLMethod.php b/src/danog/MadelineProto/TL/TLMethod.php index 6d4826d2..01f7cee4 100644 --- a/src/danog/MadelineProto/TL/TLMethod.php +++ b/src/danog/MadelineProto/TL/TLMethod.php @@ -49,7 +49,6 @@ class TLMethod if (isset($this->by_id[$id])) { $method = $this->by_id[$id]; $method['id'] = $id; - $method['params'] = $method['params']; return $method; } @@ -62,7 +61,6 @@ class TLMethod if (isset($this->by_method[$method_name])) { $method = $this->by_id[$this->by_method[$method_name]]; $method['id'] = $this->by_method[$method_name]; - $method['params'] = $method['params']; return $method; }