diff --git a/src/php/ext/grpc/channel.c b/src/php/ext/grpc/channel.c index 080a939662dacae0579e4762f75853095f7ac6a2..a4313b6bd4c0b563d347cd91fa68816815d6b85e 100644 --- a/src/php/ext/grpc/channel.c +++ b/src/php/ext/grpc/channel.c @@ -148,7 +148,7 @@ PHP_METHOD(Channel, __construct) { return; } if (args_array == NULL) { - channel->wrapped = grpc_insecure_channel_create(target, NULL, NULL, NULL); + channel->wrapped = grpc_insecure_channel_create(target, NULL, NULL); } else { array_hash = Z_ARRVAL_P(args_array); if (zend_hash_find(array_hash, "credentials", sizeof("credentials"),