Deprecate defaults() function in favor of native coalesce operator
This commit is contained in:
parent
01e71254d9
commit
c8dd290f18
1
boot.php
1
boot.php
|
@ -334,6 +334,7 @@ function get_app()
|
||||||
* @param array $args
|
* @param array $args
|
||||||
* @brief Returns a defaut value if the provided variable or array key is falsy
|
* @brief Returns a defaut value if the provided variable or array key is falsy
|
||||||
* @return mixed
|
* @return mixed
|
||||||
|
* @deprecated since version 2019.06, use native coalesce operator (??) instead
|
||||||
*/
|
*/
|
||||||
function defaults(...$args)
|
function defaults(...$args)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue