Skip to content

Commit 5d3e616

Browse files
authored
PHPC-1801: Fix arginfo for Manager::selectServer (#1211)
1 parent c6d763a commit 5d3e616

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MongoDB/Manager.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ ZEND_BEGIN_ARG_INFO_EX(ai_Manager_executeBulkWrite, 0, 0, 2)
807807
ZEND_END_ARG_INFO()
808808

809809
ZEND_BEGIN_ARG_INFO_EX(ai_Manager_selectServer, 0, 0, 1)
810-
ZEND_ARG_OBJ_INFO(0, readPreference, MongoDB\\Driver\\ReadPreference, 1)
810+
ZEND_ARG_OBJ_INFO(0, readPreference, MongoDB\\Driver\\ReadPreference, 0)
811811
ZEND_END_ARG_INFO()
812812

813813
ZEND_BEGIN_ARG_INFO_EX(ai_Manager_startSession, 0, 0, 0)

0 commit comments

Comments
 (0)