diff --git a/src/danog/MadelineProto/MTProtoTools/PeerHandler.php b/src/danog/MadelineProto/MTProtoTools/PeerHandler.php index ea4b9d54..181caf3e 100644 --- a/src/danog/MadelineProto/MTProtoTools/PeerHandler.php +++ b/src/danog/MadelineProto/MTProtoTools/PeerHandler.php @@ -24,7 +24,9 @@ trait PeerHandler public function add_users($users) { foreach ($users as $key => $user) { - if (!isset($user['access_hash'])) continue; + if (!isset($user['access_hash'])) { + continue; + } switch ($user['_']) { case 'user': if (!isset($this->chats[$user['id']]) || $this->chats[$user['id']] !== $user) { @@ -50,7 +52,9 @@ trait PeerHandler public function add_chats($chats) { foreach ($chats as $key => $chat) { - if (!isset($chat['access_hash'])) continue; + if (!isset($chat['access_hash'])) { + continue; + } switch ($chat['_']) { case 'chat': case 'chatEmpty':