X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Fphp_http_client.c;h=453e43c6ade56c18f5177abdf1698050b9116242;hb=f8b17453289061baee75586df671c62e9cd120e1;hp=05414b5dcd8295fb8e9abe83349bdf5e0b451107;hpb=0fa2672890a4fe58c3418670e57a511b3ea7189c;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) {