mirror of
https://github.com/friendica/friendica
synced 2025-04-28 07:44:23 +02:00
Replace deprecated calls to defaults() by ?? and ?: in src/
This commit is contained in:
parent
c0b78a9720
commit
146646c4d4
41 changed files with 239 additions and 233 deletions
|
@ -137,7 +137,7 @@ class NotificationsManager extends BaseObject
|
|||
*/
|
||||
public function getTabs()
|
||||
{
|
||||
$selected = defaults(self::getApp()->argv, 1, '');
|
||||
$selected = self::getApp()->argv[1] ?? '';
|
||||
|
||||
$tabs = [
|
||||
[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue