Apply fixes from StyleCI
This commit is contained in:
parent
406e09e336
commit
13277cb015
@ -713,7 +713,10 @@ class MTProto extends \Volatile
|
||||
|
||||
public function get_self()
|
||||
{
|
||||
if ($this->authorization === null) $this->authorization = ['user' => $this->method_call('users.getUsers', ['id' => [['_' => 'inputUserSelf']]], ['datacenter' => $this->datacenter->curdc])[0]];
|
||||
if ($this->authorization === null) {
|
||||
$this->authorization = ['user' => $this->method_call('users.getUsers', ['id' => [['_' => 'inputUserSelf']]], ['datacenter' => $this->datacenter->curdc])[0]];
|
||||
}
|
||||
|
||||
return $this->authorization['user'];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user