Remove duplicates to avoid problems with PHP 5
This commit is contained in:
parent
d7c7445207
commit
848d1f310b
@ -47,13 +47,6 @@ trait AuthKeyHandler
|
||||
*/
|
||||
private $pending_auth = false;
|
||||
|
||||
/**
|
||||
* DataCenter instance.
|
||||
*
|
||||
* @var \danog\MadelineProto\DataCenter
|
||||
*/
|
||||
public $datacenter;
|
||||
|
||||
/**
|
||||
* Create authorization key.
|
||||
*
|
||||
|
@ -27,12 +27,6 @@ use danog\MadelineProto\MTProtoTools\PasswordCalculator;
|
||||
*/
|
||||
trait Login
|
||||
{
|
||||
/**
|
||||
* Datacenter instance.
|
||||
*
|
||||
* @var \danog\MadelineProto\DataCenter
|
||||
*/
|
||||
public $datacenter;
|
||||
public function logout_async()
|
||||
{
|
||||
yield $this->method_call_async_read('auth.logOut', [], ['datacenter' => $this->datacenter->curdc]);
|
||||
|
Loading…
Reference in New Issue
Block a user