Merge branch 'PHP-8.1'

* PHP-8.1:
  Correct IntlDateFormatter::formatObject params
This commit is contained in:
Christoph M. Becker 2022-08-15 18:10:54 +02:00
commit ac9cbb7174
No known key found for this signature in database
GPG key ID: D66C9593118BCCB6
4 changed files with 4 additions and 4 deletions

View file

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