Correct IntlDateFormatter::formatObject params

Closes GH-9341.
This commit is contained in:
Gert de Pagter 2022-08-15 14:25:59 +02:00 committed by Christoph M. Becker
parent b8d07451d4
commit 05ed47ef12
No known key found for this signature in database
GPG key ID: D66C9593118BCCB6
5 changed files with 7 additions and 4 deletions

View file

@ -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;
}