Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
  Correct IntlDateFormatter::formatObject params
This commit is contained in:
Christoph M. Becker 2022-08-15 17:58:52 +02:00
commit 306da80f56
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;
}