Standards

This commit is contained in:
Michael 2021-11-24 23:31:10 +00:00
parent 556bcfe78f
commit 299d70ca1d
2 changed files with 5 additions and 5 deletions

View file

@ -29,7 +29,7 @@ use Friendica\DI;
* returns a 401 status code and an error message if not.
*
* @see https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/get-account-verify_credentials
*/
*/
class VerifyCredentials extends BaseApi
{
public function rawContent()

View file

@ -42,10 +42,10 @@ class Mentions extends BaseApi
// get last network messages
// params
$since_id = intval($_REQUEST['since_id'] ?? 0);
$max_id = intval($_REQUEST['max_id'] ?? 0);
$count = intval($_REQUEST['count'] ?? 20);
$page = intval($_REQUEST['page'] ?? 1);
$since_id = $_REQUEST['since_id'] ?? 0;
$max_id = $_REQUEST['max_id'] ?? 0;
$count = $_REQUEST['count'] ?? 20;
$page = $_REQUEST['page'] ?? 1;
$start = max(0, ($page - 1) * $count);