1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 13:14:40 +01:00

Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2017-04-21 23:51:54 +00:00 committed by StyleCI Bot
parent 6997826bf4
commit 6143598de0

View File

@ -20,8 +20,12 @@ class Exception extends \Exception
if (\danog\MadelineProto\Logger::$constructed && $this->file !== __FILE__) { if (\danog\MadelineProto\Logger::$constructed && $this->file !== __FILE__) {
\danog\MadelineProto\Logger::log([$message.' in '.basename($this->file).':'.$this->line], \danog\MadelineProto\Logger::FATAL_ERROR); \danog\MadelineProto\Logger::log([$message.' in '.basename($this->file).':'.$this->line], \danog\MadelineProto\Logger::FATAL_ERROR);
} }
if ($line !== null) $this->line = $line; if ($line !== null) {
if ($file !== null) $this->file = $file; $this->line = $line;
}
if ($file !== null) {
$this->file = $file;
}
\Rollbar\Rollbar::log($this); \Rollbar\Rollbar::log($this);
} }