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;