mirror of
https://github.com/friendica/friendica
synced 2025-04-27 23:10:12 +00:00
Replace deprecated defaults() calls by ?? and ?: operators in src/Module/
This commit is contained in:
parent
8998926e5b
commit
f59ea2af55
40 changed files with 115 additions and 94 deletions
|
@ -29,7 +29,7 @@ class Followers extends BaseModule
|
|||
throw new \Friendica\Network\HTTPException\NotFoundException();
|
||||
}
|
||||
|
||||
$page = defaults($_REQUEST, 'page', null);
|
||||
$page = $_REQUEST['page'] ?? null;
|
||||
|
||||
$followers = ActivityPub\Transmitter::getFollowers($owner, $page);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue