This commit is contained in:
Daniil Gentili 2019-06-02 12:03:38 +02:00
parent 62c29c9415
commit bb8bf4a048

View File

@ -30,6 +30,7 @@ class CombinedUpdatesState
if (!is_array($init)) {
return;
}
$this->states[$channel] = new UpdatesState();
foreach ($init as $channel => $state) {
if (is_array($state)) {
$state = new UpdatesState($state, $channel);