Remove duplicates to avoid problems with PHP 5

This commit is contained in:
Daniil Gentili 2019-09-03 18:30:52 +02:00
parent d7c7445207
commit 848d1f310b
2 changed files with 0 additions and 13 deletions

View File

@ -47,13 +47,6 @@ trait AuthKeyHandler
*/ */
private $pending_auth = false; private $pending_auth = false;
/**
* DataCenter instance.
*
* @var \danog\MadelineProto\DataCenter
*/
public $datacenter;
/** /**
* Create authorization key. * Create authorization key.
* *

View File

@ -27,12 +27,6 @@ use danog\MadelineProto\MTProtoTools\PasswordCalculator;
*/ */
trait Login trait Login
{ {
/**
* Datacenter instance.
*
* @var \danog\MadelineProto\DataCenter
*/
public $datacenter;
public function logout_async() public function logout_async()
{ {
yield $this->method_call_async_read('auth.logOut', [], ['datacenter' => $this->datacenter->curdc]); yield $this->method_call_async_read('auth.logOut', [], ['datacenter' => $this->datacenter->curdc]);