mirror of
https://github.com/openvk/openvk
synced 2024-11-13 10:39:24 +03:00
[VKAPI] Fix groups & added smth in Account
This commit is contained in:
parent
0cab84a2be
commit
30ae2d3a07
2 changed files with 2 additions and 2 deletions
|
@ -69,7 +69,8 @@ final class Account extends VKAPIRequestHandler
|
|||
{
|
||||
return (object) [
|
||||
"friends" => $this->getUser()->getFollowersCount(),
|
||||
"notifications" => $this->getUser()->getNotificationsCount()
|
||||
"notifications" => $this->getUser()->getNotificationsCount(),
|
||||
"messages" => $this->getUser()->getUnreadMessagesCount()
|
||||
];
|
||||
|
||||
// TODO: Filter
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php declare(strict_types=1);
|
||||
namespace openvk\VKAPI\Handlers;
|
||||
use openvk\Web\Models\Entities\User;
|
||||
use openvk\Web\Models\Repositories\clubs as clubsRepo;
|
||||
use openvk\Web\Models\Entities\Clubs;
|
||||
use openvk\Web\Models\Repositories\Clubs as ClubsRepo;
|
||||
use openvk\Web\Models\Entities\Post;
|
||||
|
|
Loading…
Reference in a new issue