mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 08:34:41 +01:00
Apply fixes from StyleCI
This commit is contained in:
parent
6997826bf4
commit
6143598de0
@ -20,8 +20,12 @@ class Exception extends \Exception
|
||||
if (\danog\MadelineProto\Logger::$constructed && $this->file !== __FILE__) {
|
||||
\danog\MadelineProto\Logger::log([$message.' in '.basename($this->file).':'.$this->line], \danog\MadelineProto\Logger::FATAL_ERROR);
|
||||
}
|
||||
if ($line !== null) $this->line = $line;
|
||||
if ($file !== null) $this->file = $file;
|
||||
if ($line !== null) {
|
||||
$this->line = $line;
|
||||
}
|
||||
if ($file !== null) {
|
||||
$this->file = $file;
|
||||
}
|
||||
\Rollbar\Rollbar::log($this);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user