Apply fixes from StyleCI
This commit is contained in:
parent
ad9591c71b
commit
396261a25b
@ -187,9 +187,9 @@ trait PeerHandler
|
||||
if ($constructor['self']) {
|
||||
$res['InputPeer'] = ['_' => 'inputPeerSelf'];
|
||||
$res['InputUser'] = ['_' => 'inputUserSelf'];
|
||||
} else if (isset($constructor['access_hash'])) {
|
||||
} elseif (isset($constructor['access_hash'])) {
|
||||
$res['InputPeer'] = ['_' => 'inputPeerUser', 'user_id' => $constructor['id'], 'access_hash' => $constructor['access_hash']];
|
||||
$res['InputUser'] = ['_' => 'inputUser', 'user_id' => $constructor['id'], 'access_hash' => $constructor['access_hash']];
|
||||
$res['InputUser'] = ['_' => 'inputUser', 'user_id' => $constructor['id'], 'access_hash' => $constructor['access_hash']];
|
||||
}
|
||||
$res['Peer'] = ['_' => 'peerUser', 'user_id' => $constructor['id']];
|
||||
$res['user_id'] = $constructor['id'];
|
||||
|
@ -203,6 +203,7 @@ trait UpdateHandler
|
||||
|
||||
if ($cur_state['sync_loading']) {
|
||||
\danog\MadelineProto\Logger::log('Sync loading, not handling update');
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user