Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2017-07-08 18:26:03 +00:00 committed by StyleCI Bot
parent f9293a67f3
commit b786f3b544

View File

@ -113,7 +113,10 @@ class Logger
self::$colors[self::WARNING] = implode(';', [self::foreground['white'], self::set['dim'], self::background['red']]);
self::$colors[self::ERROR] = implode(';', [self::foreground['white'], self::set['bold'], self::background['red']]);
self::$colors[self::FATAL_ERROR] = implode(';', [self::foreground['red'], self::set['bold'], self::background['light_gray']]);
try { self::$isatty = posix_isatty(STDOUT); } catch (\danog\MadelineProto\Exception $e) { ; }
try {
self::$isatty = posix_isatty(STDOUT);
} catch (\danog\MadelineProto\Exception $e) {
}
}
/*