mirror of
https://github.com/friendica/friendica
synced 2025-04-23 02:30:20 +00: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
|
@ -48,7 +48,7 @@ class StorageManager
|
|||
public static function getByName($name)
|
||||
{
|
||||
self::setup();
|
||||
return defaults(self::$backends, $name, '');
|
||||
return self::$backends[$name] ?? '';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue