From 31df94665a4161af8457e1fbb11efcea58fa704c Mon Sep 17 00:00:00 2001 From: Arsen Mirzaev Tatyano-Muradovich Date: Wed, 28 Jul 2021 17:55:53 +1000 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B8=D1=87=D0=B5=D0=B3=D0=BE=20=D1=81?= =?UTF-8?q?=D0=B5=D1=80=D1=8C=D1=91=D0=B7=D0=BD=D0=BE=D0=B3=D0=BE))?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mirzaev/vk/system/api/longpoll.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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)) { // Что-то сделать