Skip to content

Commit 22cd9cb

Browse files
[Intl] Fix the IntlDateFormatter::formatObject signature
1 parent 953c09c commit 22cd9cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Intl/DateFormatter/IntlDateFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ public function format($timestamp)
243243
*
244244
* @throws MethodNotImplementedException
245245
*/
246-
public function formatObject($object, $format = null, $locale = null)
246+
public static function formatObject($object, $format = null, $locale = null)
247247
{
248248
throw new MethodNotImplementedException(__METHOD__);
249249
}

0 commit comments

Comments
 (0)