mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-8.1'
* PHP-8.1: Correct IntlDateFormatter::formatObject params
This commit is contained in:
commit
ac9cbb7174
4 changed files with 4 additions and 4 deletions
|
@ -181,7 +181,7 @@ U_CFUNC PHP_FUNCTION(datefmt_format_object)
|
|||
}
|
||||
} else {
|
||||
intl_error_set(NULL, status, "datefmt_format_object: the passed object "
|
||||
"must be an instance of either IntlCalendar or DateTime",
|
||||
"must be an instance of either IntlCalendar or DateTimeInterface",
|
||||
0);
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue