mirror of
https://github.com/openvk/openvk
synced 2024-12-23 09:01:15 +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) [
|
return (object) [
|
||||||
"friends" => $this->getUser()->getFollowersCount(),
|
"friends" => $this->getUser()->getFollowersCount(),
|
||||||
"notifications" => $this->getUser()->getNotificationsCount()
|
"notifications" => $this->getUser()->getNotificationsCount(),
|
||||||
|
"messages" => $this->getUser()->getUnreadMessagesCount()
|
||||||
];
|
];
|
||||||
|
|
||||||
// TODO: Filter
|
// TODO: Filter
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
<?php declare(strict_types=1);
|
<?php declare(strict_types=1);
|
||||||
namespace openvk\VKAPI\Handlers;
|
namespace openvk\VKAPI\Handlers;
|
||||||
use openvk\Web\Models\Entities\User;
|
use openvk\Web\Models\Entities\User;
|
||||||
use openvk\Web\Models\Repositories\clubs as clubsRepo;
|
|
||||||
use openvk\Web\Models\Entities\Clubs;
|
use openvk\Web\Models\Entities\Clubs;
|
||||||
use openvk\Web\Models\Repositories\Clubs as ClubsRepo;
|
use openvk\Web\Models\Repositories\Clubs as ClubsRepo;
|
||||||
use openvk\Web\Models\Entities\Post;
|
use openvk\Web\Models\Entities\Post;
|
||||||
|
|
Loading…
Reference in a new issue