X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=inline;f=src%2Fphp_http_client.c;h=453e43c6ade56c18f5177abdf1698050b9116242;hb=b6bd51c63e78ca0212228a7002a93fb67dfede96;hp=05414b5dcd8295fb8e9abe83349bdf5e0b451107;hpb=92d8f06029623d719357ad7d08d42909996768f9;p=m6w6%2Fext-http diff --git a/src/php_http_client.c b/src/php_http_client.c index 05414b5..453e43c 100644 --- a/src/php_http_client.c +++ b/src/php_http_client.c @@ -1256,7 +1256,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) {