Applied fixes from StyleCI
This commit is contained in:
parent
0459498eb8
commit
55e3905495
@ -64,7 +64,7 @@ class Logging
|
||||
if (!is_string($param)) {
|
||||
$param = var_export($param, true);
|
||||
}
|
||||
$param = str_pad(basename(debug_backtrace()[0]['file'], '.php').': ', 16).(($mode == 3) ? "\t" : "").$param;
|
||||
$param = str_pad(basename(debug_backtrace()[0]['file'], '.php').': ', 16).(($mode == 3) ? "\t" : '').$param;
|
||||
switch ($mode) {
|
||||
case '1':
|
||||
error_log($param);
|
||||
|
@ -58,7 +58,9 @@ class TL
|
||||
|
||||
return $bytes_io;
|
||||
}
|
||||
public function get_named_method_args($type_, $kwargs) {
|
||||
|
||||
public function get_named_method_args($type_, $kwargs)
|
||||
{
|
||||
if (isset($this->method_name[$type_])) {
|
||||
$tl_method = $this->method_name[$type_];
|
||||
} else {
|
||||
@ -73,8 +75,10 @@ class TL
|
||||
}
|
||||
$kwargs = $newargs;
|
||||
}
|
||||
|
||||
return $kwargs;
|
||||
}
|
||||
|
||||
public function serialize_method($type_, $kwargs)
|
||||
{
|
||||
$bytes_io = '';
|
||||
|
Loading…
Reference in New Issue
Block a user