Standards
This commit is contained in:
parent
556bcfe78f
commit
299d70ca1d
|
@ -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()
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user