mirror of
https://github.com/openvk/openvk
synced 2025-03-03 16:20:04 +03:00
fix(lint)
This commit is contained in:
parent
6f722bbb43
commit
2c46297853
3 changed files with 5 additions and 5 deletions
|
@ -45,7 +45,7 @@ final class Groups extends VKAPIRequestHandler
|
|||
$clbsCount = $user->getClubCount();
|
||||
}
|
||||
|
||||
$rClubs = array();
|
||||
$rClubs = [];
|
||||
|
||||
$ic = sizeof($clbs);
|
||||
if (sizeof($clbs) > $count) {
|
||||
|
|
|
@ -52,7 +52,7 @@ final class Newsfeed extends VKAPIRequestHandler
|
|||
return $response;
|
||||
}
|
||||
|
||||
public function getGlobal(string $fields = "", int $start_from = 0, int $start_time = 0, int $end_time = 0, int $offset = 0, int $count = 30, int $extended = 0, int $rss = 0, int $return_banned = 0)
|
||||
public function getGlobal(string $fields = "", int $start_from = 0, int $start_time = 0, int $end_time = 0, int $offset = 0, int $count = 30, int $extended = 0, int $rss = 0, int $return_banned = 0)
|
||||
{
|
||||
$this->requireUser();
|
||||
|
||||
|
|
|
@ -317,15 +317,15 @@ final class SupportPresenter extends OpenVKPresenter
|
|||
header("HTTP/1.1 403 Forbidden");
|
||||
exit();
|
||||
}
|
||||
|
||||
|
||||
if ($mark !== 1 && $mark !== 2) {
|
||||
header("HTTP/1.1 400 Bad Request");
|
||||
exit();
|
||||
}
|
||||
|
||||
|
||||
$comment->setMark($mark);
|
||||
$comment->save();
|
||||
|
||||
|
||||
header("HTTP/1.1 200 OK");
|
||||
exit();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue