Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2017-01-29 17:53:06 +00:00 committed by StyleCI Bot
parent 896956fe78
commit 3d203fc128

View File

@ -25,7 +25,9 @@ class Exception extends \Exception
if (error_reporting() === 0) { if (error_reporting() === 0) {
return true; // return true to continue through the others error handlers return true; // return true to continue through the others error handlers
} }
if (\danog\MadelineProto\Logger::$constructed) \danog\MadelineProto\Logger::log([$errstr], \danog\MadelineProto\Logger::FATAL_ERROR); if (\danog\MadelineProto\Logger::$constructed) {
\danog\MadelineProto\Logger::log([$errstr], \danog\MadelineProto\Logger::FATAL_ERROR);
}
$e = new \danog\MadelineProto\Exception($errstr, $errno); $e = new \danog\MadelineProto\Exception($errstr, $errno);
$e->file = $errfile; $e->file = $errfile;
$e->line = $errline; $e->line = $errline;