From 22cd9cbc86b20985bd65a6f6e4fc2f020b0b0947 Mon Sep 17 00:00:00 2001 From: Damien ALEXANDRE Date: Tue, 21 Jun 2022 14:42:24 +0200 Subject: [PATCH] [Intl] Fix the IntlDateFormatter::formatObject signature --- src/Symfony/Component/Intl/DateFormatter/IntlDateFormatter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Intl/DateFormatter/IntlDateFormatter.php b/src/Symfony/Component/Intl/DateFormatter/IntlDateFormatter.php index 4da012f52073c..9e31312517638 100644 --- a/src/Symfony/Component/Intl/DateFormatter/IntlDateFormatter.php +++ b/src/Symfony/Component/Intl/DateFormatter/IntlDateFormatter.php @@ -243,7 +243,7 @@ public function format($timestamp) * * @throws MethodNotImplementedException */ - public function formatObject($object, $format = null, $locale = null) + public static function formatObject($object, $format = null, $locale = null) { throw new MethodNotImplementedException(__METHOD__); }