mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 08:18:59 +01:00
Apply fixes from StyleCI
This commit is contained in:
parent
62af29c1c9
commit
4b1af4d274
@ -34,7 +34,9 @@ trait PrettyException
|
||||
if ($tl) {
|
||||
$this->tl_trace .= PHP_EOL;
|
||||
}
|
||||
if (isset($frame['function']) && $frame['function'] === 'handle_rpc_error' && $k === count($this->getTrace())-1) continue;
|
||||
if (isset($frame['function']) && $frame['function'] === 'handle_rpc_error' && $k === count($this->getTrace()) - 1) {
|
||||
continue;
|
||||
}
|
||||
$this->tl_trace .= isset($frame['file']) ? str_pad(basename($frame['file']).'('.$frame['line'].'):', 16)."\t" : '';
|
||||
$this->tl_trace .= isset($frame['function']) ? $frame['function'].'(' : '';
|
||||
$this->tl_trace .= isset($frame['args']) ? substr(json_encode($frame['args']), 1, -1) : '';
|
||||
|
Loading…
Reference in New Issue
Block a user