From 166e2422921444e7dd13e8fc754ad5b2d08cace4 Mon Sep 17 00:00:00 2001 From: Sergey Avseyev Date: Tue, 1 Oct 2024 20:38:46 -0700 Subject: [PATCH] PCBC-1009: do not use IS_RESOURCE in function signatures Fixes #180 --- src/php_couchbase.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/php_couchbase.cxx b/src/php_couchbase.cxx index eebc3717..6752d0d5 100644 --- a/src/php_couchbase.cxx +++ b/src/php_couchbase.cxx @@ -3952,7 +3952,7 @@ ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(ai_CouchbaseExtension_createDocumentScanResult, 0, 0, - IS_RESOURCE, + IS_MIXED, 1) ZEND_ARG_INFO(0, connection) ZEND_ARG_TYPE_INFO(0, bucket, IS_STRING, 0) @@ -4301,7 +4301,7 @@ ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(ai_CouchbaseExtension_createTransactions, 0, 0, - IS_RESOURCE, + IS_MIXED, 1) ZEND_ARG_INFO(0, connection) ZEND_ARG_TYPE_INFO(0, configuration, IS_ARRAY, 1) @@ -4310,7 +4310,7 @@ ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(ai_CouchbaseExtension_createTransactionContext, 0, 0, - IS_RESOURCE, + IS_MIXED, 1) ZEND_ARG_INFO(0, transactions) ZEND_ARG_TYPE_INFO(0, configuration, IS_ARRAY, 1)