From a0246f5fac8f96908d09355edaefe906df80a673 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Mon, 30 Jan 2023 08:12:38 -0500 Subject: [PATCH] add deprecation notice --- CRM/Utils/Number.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Utils/Number.php b/CRM/Utils/Number.php index 5262c35106..da5db035c5 100644 --- a/CRM/Utils/Number.php +++ b/CRM/Utils/Number.php @@ -118,6 +118,7 @@ class CRM_Utils_Number { */ public static function formatLocaleNumeric(string $amount, $locale = NULL): string { if ($amount === "") { + CRM_Core_Error::deprecatedWarning('Passing an empty string for amount is deprecated.'); return $amount; } -- 2.25.1