Skip to content

Commit

Permalink
fix: Creation of dynamic property $serverLastStreamId
Browse files Browse the repository at this point in the history
  • Loading branch information
leocavalcante authored Jun 24, 2024
1 parent ce934b8 commit 7bac3d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext-src/swoole_http2_client_coro.cc
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ void php_swoole_http2_client_coro_minit(int module_number) {

zend_declare_property_long(swoole_http2_client_coro_ce, ZEND_STRL("errCode"), 0, ZEND_ACC_PUBLIC);
zend_declare_property_string(swoole_http2_client_coro_ce, ZEND_STRL("errMsg"), "", ZEND_ACC_PUBLIC);
zend_declare_property_long(swoole_http2_client_coro_ce, ZEND_STRL("serverLastStreamId"), 0, ZEND_ACC_PUBLIC);
zend_declare_property_long(swoole_http2_client_coro_ce, ZEND_STRL("sock"), -1, ZEND_ACC_PUBLIC);
zend_declare_property_long(swoole_http2_client_coro_ce, ZEND_STRL("type"), 0, ZEND_ACC_PUBLIC);
zend_declare_property_null(swoole_http2_client_coro_ce, ZEND_STRL("setting"), ZEND_ACC_PUBLIC);
Expand Down

0 comments on commit 7bac3d3

Please sign in to comment.