Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFreeman committed Jul 18, 2024
1 parent 9bb3530 commit 483ec41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext-src/swoole_http_cookie.cc
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ static PHP_METHOD(swoole_http_cookie, setValue) {
zend_bool encode = true;
HttpCookie *cookie = php_swoole_http_get_cookie(ZEND_THIS);

ZEND_PARSE_PARAMETERS_START(0, 1)
ZEND_PARSE_PARAMETERS_START(0, 2)
Z_PARAM_OPTIONAL
Z_PARAM_STR(value)
Z_PARAM_BOOL(encode)
Expand Down

0 comments on commit 483ec41

Please sign in to comment.