mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0: Correct IntlDateFormatter::formatObject params
This commit is contained in:
commit
306da80f56
5 changed files with 7 additions and 4 deletions
|
@ -190,7 +190,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