diff --git a/mirzaev/vk/system/api/longpoll.php b/mirzaev/vk/system/api/longpoll.php index b6466d6..a5fdfa7 100644 --- a/mirzaev/vk/system/api/longpoll.php +++ b/mirzaev/vk/system/api/longpoll.php @@ -202,9 +202,15 @@ final class longpoll // LongPoll-сервер не инициализирован // Запрос на получение доступа и данных LongPoll-сервера - $response = json_decode($this->robot->browser->request(method: 'POST', uri: 'groups.getLongPollServer', options: [ - 'form_params' => $this->robot->api['settings'] - ])->getBody()->getContents()); + $response = json_decode( + $this->robot->browser->request( + method: 'POST', + uri: 'groups.getLongPollServer', + options: [ + 'form_params' => $this->robot->api['settings'] + ] + )->getBody()->getContents() + ); if (isset($response->error)) { // Что-то сделать