Applied fixes from StyleCI

This commit is contained in:
Daniil Gentili 2016-10-13 21:22:32 +00:00 committed by StyleCI Bot
parent 0459498eb8
commit 55e3905495
2 changed files with 6 additions and 2 deletions

View File

@ -64,7 +64,7 @@ class Logging
if (!is_string($param)) { if (!is_string($param)) {
$param = var_export($param, true); $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) { switch ($mode) {
case '1': case '1':
error_log($param); error_log($param);

View File

@ -58,7 +58,9 @@ class TL
return $bytes_io; 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_])) { if (isset($this->method_name[$type_])) {
$tl_method = $this->method_name[$type_]; $tl_method = $this->method_name[$type_];
} else { } else {
@ -73,8 +75,10 @@ class TL
} }
$kwargs = $newargs; $kwargs = $newargs;
} }
return $kwargs; return $kwargs;
} }
public function serialize_method($type_, $kwargs) public function serialize_method($type_, $kwargs)
{ {
$bytes_io = ''; $bytes_io = '';