From bfda1d9a7cda97370ad36952d8e327d6aeaa47f1 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Mon, 31 Jul 2017 17:09:16 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/danog/MadelineProto/VoIP/AuthKeyHandler.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/danog/MadelineProto/VoIP/AuthKeyHandler.php b/src/danog/MadelineProto/VoIP/AuthKeyHandler.php index 8a896192..c4f82300 100644 --- a/src/danog/MadelineProto/VoIP/AuthKeyHandler.php +++ b/src/danog/MadelineProto/VoIP/AuthKeyHandler.php @@ -89,6 +89,7 @@ trait AuthKeyHandler if ($e->rpc === 'CALL_ALREADY_DECLINED') { \danog\MadelineProto\Logger::log(['Call '.$call['id'].' already declined']); $this->calls[$call['id']]->discard(); + return false; } throw $e;