From ac0853eb265784c4238af652de9c54c883ffa99f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Wed, 29 Jan 2020 20:06:13 +0100 Subject: Make type error messages more consistent Closes GH-5092 --- ext/intl/tests/calendar_setFirstDayOfWeek_error.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/intl/tests/calendar_setFirstDayOfWeek_error.phpt') diff --git a/ext/intl/tests/calendar_setFirstDayOfWeek_error.phpt b/ext/intl/tests/calendar_setFirstDayOfWeek_error.phpt index bb4e01ca00..abaad15708 100644 --- a/ext/intl/tests/calendar_setFirstDayOfWeek_error.phpt +++ b/ext/intl/tests/calendar_setFirstDayOfWeek_error.phpt @@ -23,7 +23,7 @@ bool(false) Warning: intlcal_set_first_day_of_week(): intlcal_set_first_day_of_week: invalid day of week in %s on line %d bool(false) -Fatal error: Uncaught TypeError: intlcal_set_first_day_of_week() expects parameter 1 to be IntlCalendar, int given in %s:%d +Fatal error: Uncaught TypeError: intlcal_set_first_day_of_week() expects argument #1 ($calendar) to be of type IntlCalendar, int given in %s:%d Stack trace: #0 %s(%d): intlcal_set_first_day_of_week(1, 2) #1 {main} -- cgit v1.2.1