From de545894f7b783b13417e139edaa02f8444a5482 Mon Sep 17 00:00:00 2001 From: Oliver Kaufmann Date: Tue, 19 Jul 2022 16:45:15 +0200 Subject: [PATCH] deprecate formatLocalized --- src/Modifiers/CoreModifiers.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Modifiers/CoreModifiers.php b/src/Modifiers/CoreModifiers.php index a3f366e84a1..beb7ec71707 100644 --- a/src/Modifiers/CoreModifiers.php +++ b/src/Modifiers/CoreModifiers.php @@ -671,6 +671,8 @@ public function formatTranslated($value, $params) /** * Converts a string to a Carbon instance and formats it according to the whim of the Overlord. * + * @deprecated formatLocalized is deprecated since Carbon 2.55.0. You may want to use formatTranslated instead. + * * @param $value * @param $params * @return string