Apply fixes from StyleCI
This commit is contained in:
parent
6a618edb53
commit
d68ccd84dc
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user