From e6fc4a4399aee53ffc718954997aa79029a0e879 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Tue, 24 Oct 2023 18:00:25 +0200 Subject: [PATCH] cs-fix --- src/Connection.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Connection.php b/src/Connection.php index 3d20e94447..93bc7ee2f7 100644 --- a/src/Connection.php +++ b/src/Connection.php @@ -529,8 +529,8 @@ private function methodAbstractions(string &$method, array &$arguments): void 'reply_to_msg_id' => $arguments['reply_to_msg_id'], 'top_msg_id' => $arguments['top_msg_id'] ?? null ]; - unset($arguments['reply_to_msg_id']); - unset($arguments['top_msg_id']); + unset($arguments['reply_to_msg_id'], $arguments['top_msg_id']); + } } /**