From: Hypolite Petovan Date: Mon, 27 May 2019 01:28:34 +0000 (-0400) Subject: Deprecate defaults() function in favor of native coalesce operator X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c8dd290f18ceb12e6a3df3550309911b3e936b35;p=friendica.git Deprecate defaults() function in favor of native coalesce operator --- diff --git a/boot.php b/boot.php index dfedcdbbbe..9076331290 100644 --- a/boot.php +++ b/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) {