From c8dd290f18ceb12e6a3df3550309911b3e936b35 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 26 May 2019 21:28:34 -0400 Subject: [PATCH] Deprecate defaults() function in favor of native coalesce operator --- boot.php | 1 + 1 file changed, 1 insertion(+) diff --git a/boot.php b/boot.php index dfedcdbbb..907633129 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) {