Minor fixes
This commit is contained in:
parent
f5e4d29db1
commit
e5c430dfc9
@ -362,8 +362,8 @@ class API extends InternalDoc
|
||||
while (true) {
|
||||
try {
|
||||
yield $this->start();
|
||||
$started = true;
|
||||
yield $this->setEventHandler($eventHandler);
|
||||
$started = true;
|
||||
return yield from $this->API->loop();
|
||||
} catch (\Throwable $e) {
|
||||
$errors = [\time() => $errors[\time()] ?? 0];
|
||||
|
@ -47,8 +47,10 @@ class MyTelegramOrgWrapper
|
||||
private string $creation_hash = '';
|
||||
/**
|
||||
* Settings.
|
||||
*
|
||||
* @var Settings
|
||||
*/
|
||||
private Settings $settings;
|
||||
private $settings;
|
||||
/**
|
||||
* Async setting.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user