Skip to content

Commit 0a11c40

Browse files
committed
ext/date: Remove unused parameter
1 parent ceeaa99 commit 0a11c40

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/date/php_date.c

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

5031-
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)
5031+
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)
50325032
{
50335033
if (!date_period_initialize(&(dpobj->start), &(dpobj->end), &(dpobj->interval), recurrences, isostr, isostr_len)) {
50345034
return false;
@@ -5114,7 +5114,7 @@ PHP_METHOD(DatePeriod, createFromISO8601String)
51145114

51155115
dpobj->current = NULL;
51165116

5117-
if (!date_period_init_iso8601_string(dpobj, date_ce_immutable, isostr, isostr_len, options, &recurrences)) {
5117+
if (!date_period_init_iso8601_string(dpobj, date_ce_immutable, isostr, isostr_len, &recurrences)) {
51185118
RETURN_THROWS();
51195119
}
51205120

@@ -5153,7 +5153,7 @@ PHP_METHOD(DatePeriod, __construct)
51535153
RETURN_THROWS();
51545154
}
51555155

5156-
if (!date_period_init_iso8601_string(dpobj, date_ce_date, isostr, isostr_len, options, &recurrences)) {
5156+
if (!date_period_init_iso8601_string(dpobj, date_ce_date, isostr, isostr_len, &recurrences)) {
51575157
RETURN_THROWS();
51585158
}
51595159
} else {

0 commit comments

Comments
 (0)