Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2017-07-27 07:06:20 +00:00 committed by StyleCI Bot
parent 0610e33631
commit 29c0542d80
2 changed files with 2 additions and 2 deletions

View File

@ -148,6 +148,7 @@ class APIFactory
$value = $newval;
}
});
return $deserialized;
} catch (\danog\MadelineProto\Exception $e) {
return ['error_code' => $e->getCode(), 'error' => $e->getMessage()];

View File

@ -62,7 +62,6 @@ class Lua
foreach ($this->MadelineProto->get_methods_namespaced() as $method => $namespace) {
$this->MadelineProto->{$namespace}->lua = true;
}
}
public function tdcli_function($params, $cb = null, $cb_extra = null)