From d68ccd84dca784470daddaab3719f673a1ee9f54 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Wed, 26 Apr 2017 18:32:55 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/danog/MadelineProto/MTProto.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/danog/MadelineProto/MTProto.php b/src/danog/MadelineProto/MTProto.php index 6a9616bf..66d08b25 100644 --- a/src/danog/MadelineProto/MTProto.php +++ b/src/danog/MadelineProto/MTProto.php @@ -359,7 +359,9 @@ Slv8kg9qv1m6XHVQY3PnEw+QQtqSIXklHwIDAQAB 'pwr' => ['pwr' => false, 'db_token' => false, 'strict' => false], ]; $settings = $this->array_replace_recursive($default_settings, $settings); - if (!isset($settings['app_info']['api_id'])) throw new Exception('You must provide an api key and an api id, get your own @ my.telegram.org'); + if (!isset($settings['app_info']['api_id'])) { + throw new Exception('You must provide an api key and an api id, get your own @ my.telegram.org'); + } switch ($settings['logger']['logger_level']) { case 'ULTRA_VERBOSE': $settings['logger']['logger_level'] = 5; break; case 'VERBOSE': $settings['logger']['logger_level'] = 4; break;