From 30349d76f23ed152aa9bb8c6b6dbca94f1ada25a Mon Sep 17 00:00:00 2001 From: Vladimir Lapskiy Date: Fri, 8 Jan 2021 16:58:57 +0500 Subject: [PATCH] object name error in case"status" --- VKAPI/Handlers/Users.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VKAPI/Handlers/Users.php b/VKAPI/Handlers/Users.php index 182eb05f..e9a0df8d 100644 --- a/VKAPI/Handlers/Users.php +++ b/VKAPI/Handlers/Users.php @@ -60,7 +60,7 @@ final class Users extends VKAPIRequestHandler $response[$i]->photo_max = $usr->getAvatarURL(); break; case 'status': - $responce[$i]->status = $usr->getStatus(); + $response[$i]->status = $usr->getStatus(); break; } }