From 4f592648611e08ab8d5526ccd31786159c60a450 Mon Sep 17 00:00:00 2001 From: 0x7d5 <86822737+VladimirLapskiy@users.noreply.github.com> Date: Sat, 9 Oct 2021 01:17:45 +0500 Subject: [PATCH] API: fix crash account.setOnline (#172) --- VKAPI/Handlers/Account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VKAPI/Handlers/Account.php b/VKAPI/Handlers/Account.php index aa832e29..ee55e863 100644 --- a/VKAPI/Handlers/Account.php +++ b/VKAPI/Handlers/Account.php @@ -42,7 +42,7 @@ final class Account extends VKAPIRequestHandler ]; } - function setOnline(): object + function setOnline(): int { $this->requireUser();