Skip to content

Commit 42a6652

Browse files
committed
ext/date: Remove unused parameter
1 parent dcc59b7 commit 42a6652

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: ext/date/php_date.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -5030,7 +5030,7 @@ static bool date_period_initialize(timelib_time **st, timelib_time **et, timelib
50305030
return retval;
50315031
} /* }}} */
50325032

5033-
static bool date_period_init_iso8601_string(php_period_obj *dpobj, zend_class_entry* base_ce, const char *isostr, size_t isostr_len, zend_long options, zend_long *recurrences)
5033+
static bool date_period_init_iso8601_string(php_period_obj *dpobj, zend_class_entry* base_ce, const char *isostr, size_t isostr_len, zend_long *recurrences)
50345034
{
50355035
if (!date_period_initialize(&(dpobj->start), &(dpobj->end), &(dpobj->interval), recurrences, isostr, isostr_len)) {
50365036
return false;
@@ -5116,7 +5116,7 @@ PHP_METHOD(DatePeriod, createFromISO8601String)
51165116

51175117
dpobj->current = NULL;
51185118

5119-
if (!date_period_init_iso8601_string(dpobj, date_ce_immutable, isostr, isostr_len, options, &recurrences)) {
5119+
if (!date_period_init_iso8601_string(dpobj, date_ce_immutable, isostr, isostr_len, &recurrences)) {
51205120
RETURN_THROWS();
51215121
}
51225122

@@ -5155,7 +5155,7 @@ PHP_METHOD(DatePeriod, __construct)
51555155
RETURN_THROWS();
51565156
}
51575157

5158-
if (!date_period_init_iso8601_string(dpobj, date_ce_date, isostr, isostr_len, options, &recurrences)) {
5158+
if (!date_period_init_iso8601_string(dpobj, date_ce_date, isostr, isostr_len, &recurrences)) {
51595159
RETURN_THROWS();
51605160
}
51615161
} else {

0 commit comments

Comments
 (0)