X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Fphp_http_client.c;h=4118ab18263fd7156a7852ba3860c610bc95dac0;hb=refs%2Ftags%2FRELEASE_3_1_0_BETA2;hp=d0e6e80107c28dc65de29971d3d348a2689fba86;hpb=c55db20a130d729ca8747346c5e5ab9fb52fd89d;p=m6w6%2Fext-http diff --git a/src/php_http_client.c b/src/php_http_client.c index d0e6e80..4118ab1 100644 --- a/src/php_http_client.c +++ b/src/php_http_client.c @@ -1270,7 +1270,8 @@ static PHP_METHOD(HttpClient, getAvailableConfiguration) } ZEND_BEGIN_ARG_INFO_EX(ai_HttpClient_setDebug, 0, 0, 1) - ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 1) + /* using IS_CALLABLE type hint would create a forwards compatibility break */ + ZEND_ARG_INFO(0, callback) ZEND_END_ARG_INFO(); static PHP_METHOD(HttpClient, setDebug) {