Apply fixes from StyleCI
This commit is contained in:
parent
2754acdca2
commit
96d01a118c
@ -704,7 +704,9 @@ class MTProto
|
||||
|
||||
public function sync_authorization($id)
|
||||
{
|
||||
if (!isset($this->datacenter->sockets[$id])) return false;
|
||||
if (!isset($this->datacenter->sockets[$id])) {
|
||||
return false;
|
||||
}
|
||||
$socket = $this->datacenter->sockets[$id];
|
||||
if ($this->authorized === self::LOGGED_IN && $socket->authorized === false) {
|
||||
foreach ($this->datacenter->sockets as $authorized_dc_id => $authorized_socket) {
|
||||
|
Loading…
Reference in New Issue
Block a user