Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6a35083

Browse filesBrowse files
[Intl] Fix the IntlDateFormatter::formatObject signature
1 parent d45b58e commit 6a35083
Copy full SHA for 6a35083

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/Intl/Icu/IntlDateFormatter.php

Copy file name to clipboardExpand all lines: src/Intl/Icu/IntlDateFormatter.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ public function format($datetime)
276276
*
277277
* @throws MethodNotImplementedException
278278
*/
279-
public function formatObject($datetime, $format = null, string $locale = null)
279+
public static function formatObject($datetime, $format = null, string $locale = null)
280280
{
281281
throw new MethodNotImplementedException(__METHOD__);
282282
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.