Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2017-05-31 10:15:10 +00:00 committed by StyleCI Bot
parent 406e09e336
commit 13277cb015

View File

@ -713,7 +713,10 @@ class MTProto extends \Volatile
public function get_self() 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']; return $this->authorization['user'];
} }