diff --git a/VKAPI/Handlers/Gifts.php b/VKAPI/Handlers/Gifts.php index e95493ef..9ee5d222 100644 --- a/VKAPI/Handlers/Gifts.php +++ b/VKAPI/Handlers/Gifts.php @@ -37,7 +37,6 @@ final class Gifts extends VKAPIRequestHandler foreach ($user_gifts as $gift) { $gift_item[] = [ - "id" => $i, "from_id" => $gift->anon == true ? 0 : $gift->sender->getId(), "message" => $gift->caption == null ? "" : $gift->caption, "date" => $gift->sent->timestamp(), diff --git a/VKAPI/Handlers/Notes.php b/VKAPI/Handlers/Notes.php index 1ddb67be..9e07454e 100644 --- a/VKAPI/Handlers/Notes.php +++ b/VKAPI/Handlers/Notes.php @@ -106,7 +106,7 @@ final class Notes extends VKAPIRequestHandler return 1; } - public function get(int $user_id, string $note_ids = "", int $offset = 0, int $count = 10) + public function get(int $user_id, string $note_ids = "", int $offset = 0, int $count = 10, int $sort = 0) { $this->requireUser();