From 6bd76f05c03689f3bc4a40f5e6b7b0ce9b03034d Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Mon, 25 Dec 2017 16:07:18 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/danog/MadelineProto/MTProtoTools/UpdateHandler.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/danog/MadelineProto/MTProtoTools/UpdateHandler.php b/src/danog/MadelineProto/MTProtoTools/UpdateHandler.php index c74392633..305bbb9d7 100644 --- a/src/danog/MadelineProto/MTProtoTools/UpdateHandler.php +++ b/src/danog/MadelineProto/MTProtoTools/UpdateHandler.php @@ -158,7 +158,9 @@ trait UpdateHandler { try { $peer_id = $this->get_info($message['to_id'])['bot_api_id']; - } catch (\danog\MadelineProto\Exception $e) { return true; } + } catch (\danog\MadelineProto\Exception $e) { + return true; + } $message_id = $message['id']; if (!isset($this->msg_ids[$peer_id]) || $message_id > $this->msg_ids[$peer_id]) {