Skip to content

Commit cacb143

Browse files
committed
Fix error message
1 parent dd3bbb4 commit cacb143

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/intl/calendar/calendar_methods.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ static void _php_intlcal_before_after(
348348

349349
when_co = Z_INTL_CALENDAR_P(when_object);
350350
if (when_co->ucal == NULL) {
351-
zend_argument_error(NULL, 2, "object is not fully initialized");
351+
zend_argument_error(NULL, 2, "is uninitialized");
352352
RETURN_THROWS();
353353
}
354354

@@ -715,7 +715,7 @@ U_CFUNC PHP_FUNCTION(intlcal_is_equivalent_to)
715715

716716
other_co = Z_INTL_CALENDAR_P(other_object);
717717
if (other_co->ucal == NULL) {
718-
zend_argument_error(NULL, 2, "object is not fully initialized");
718+
zend_argument_error(NULL, 2, "is uninitialized");
719719
RETURN_THROWS();
720720
}
721721

@@ -853,7 +853,7 @@ U_CFUNC PHP_FUNCTION(intlcal_equals)
853853
CALENDAR_METHOD_FETCH_OBJECT;
854854
other_co = Z_INTL_CALENDAR_P(other_object);
855855
if (other_co->ucal == NULL) {
856-
zend_argument_error(NULL, 2, "object is not fully initialized");
856+
zend_argument_error(NULL, 2, "is uninitialized");
857857
RETURN_THROWS();
858858
}
859859

0 commit comments

Comments
 (0)