Apply fixes from StyleCI
This commit is contained in:
parent
0610e33631
commit
29c0542d80
@ -148,6 +148,7 @@ class APIFactory
|
|||||||
$value = $newval;
|
$value = $newval;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
return $deserialized;
|
return $deserialized;
|
||||||
} catch (\danog\MadelineProto\Exception $e) {
|
} catch (\danog\MadelineProto\Exception $e) {
|
||||||
return ['error_code' => $e->getCode(), 'error' => $e->getMessage()];
|
return ['error_code' => $e->getCode(), 'error' => $e->getMessage()];
|
||||||
|
@ -62,7 +62,6 @@ class Lua
|
|||||||
foreach ($this->MadelineProto->get_methods_namespaced() as $method => $namespace) {
|
foreach ($this->MadelineProto->get_methods_namespaced() as $method => $namespace) {
|
||||||
$this->MadelineProto->{$namespace}->lua = true;
|
$this->MadelineProto->{$namespace}->lua = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function tdcli_function($params, $cb = null, $cb_extra = null)
|
public function tdcli_function($params, $cb = null, $cb_extra = null)
|
||||||
|
Loading…
Reference in New Issue
Block a user