We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86b191f commit e373de6Copy full SHA for e373de6
src/couchbase/search/query_string_query.c
@@ -62,7 +62,7 @@ PHP_METHOD(QueryStringSearchQuery, jsonSerialize)
62
zval *prop, ret;
63
prop = zend_read_property(pcbc_query_string_search_query_ce, getThis(), ZEND_STRL("value"), 0, &ret);
64
if (Z_TYPE_P(prop) != IS_NULL) {
65
- add_assoc_zval(return_value, "query_string", prop);
+ add_assoc_zval(return_value, "query", prop);
66
Z_TRY_ADDREF_P(prop);
67
}
68
0 commit comments