mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Correct IntlDateFormatter::formatObject params
Closes GH-9341.
This commit is contained in:
parent
b8d07451d4
commit
05ed47ef12
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