mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 00:34:40 +01:00
Apply fixes from StyleCI
This commit is contained in:
parent
1e7c552459
commit
2680b68751
@ -182,6 +182,5 @@ if (!extension_loaded('pthreads')) {
|
||||
*/
|
||||
return $value;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -74,7 +74,9 @@ trait UpdateHandler
|
||||
$params['offset'] = array_reverse(array_keys((array) $this->updates))[abs($params['offset']) - 1];
|
||||
}
|
||||
$updates = [];
|
||||
if (isset($this->updates["\0*\0state"])) unset($this->updates["\0*\0state"]);
|
||||
if (isset($this->updates["\0*\0state"])) {
|
||||
unset($this->updates["\0*\0state"]);
|
||||
}
|
||||
$supdates = (array) $this->updates;
|
||||
ksort($supdates);
|
||||
foreach ($supdates as $key => $value) {
|
||||
|
Loading…
Reference in New Issue
Block a user