Deprecate defaults() function in favor of native coalesce operator
This commit is contained in:
parent
01e71254d9
commit
c8dd290f18
1 changed files with 1 additions and 0 deletions
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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue