Skip to content

Commit 2137250

Browse files
committed
fix TS build
1 parent 2e8cd42 commit 2137250

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/date/php_date.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3739,7 +3739,7 @@ PHP_METHOD(DateTimeZone, __set_state)
37393739
php_date_instantiate(date_ce_timezone, return_value TSRMLS_CC);
37403740
tzobj = (php_timezone_obj *) zend_object_store_get_object(return_value TSRMLS_CC);
37413741
if(php_date_timezone_initialize_from_hash(&return_value, &tzobj, myht TSRMLS_CC) != SUCCESS) {
3742-
php_error_docref(NULL, E_ERROR, "Timezone initialization failed");
3742+
php_error_docref(NULL TSRMLS_CC, E_ERROR, "Timezone initialization failed");
37433743
}
37443744
}
37453745
/* }}} */
@@ -3757,7 +3757,7 @@ PHP_METHOD(DateTimeZone, __wakeup)
37573757
myht = Z_OBJPROP_P(object);
37583758

37593759
if(php_date_timezone_initialize_from_hash(&return_value, &tzobj, myht TSRMLS_CC) != SUCCESS) {
3760-
php_error_docref(NULL, E_ERROR, "Timezone initialization failed");
3760+
php_error_docref(NULL TSRMLS_CC, E_ERROR, "Timezone initialization failed");
37613761
}
37623762
}
37633763
/* }}} */

0 commit comments

Comments
 (0)