sforkowany z mirror/friendica
Deprecate defaults() function in favor of native coalesce operator
rodzic
01e71254d9
commit
c8dd290f18
1
boot.php
1
boot.php
|
@ -334,6 +334,7 @@ function get_app()
|
|||
* @param array $args
|
||||
* @brief Returns a defaut value if the provided variable or array key is falsy
|
||||
* @return mixed
|
||||
* @deprecated since version 2019.06, use native coalesce operator (??) instead
|
||||
*/
|
||||
function defaults(...$args)
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue