Skip to content

Commit c9eea94

Browse files
committed
Fix bulkWrite parameter name
1 parent 0abee61 commit c9eea94

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/MongoDB/Server.stub.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ final class Server
7272
final private function __construct() {}
7373

7474
#if PHP_VERSION_ID >= 80000
75-
final public function executeBulkWrite(string $namespace, BulkWrite $zwrite, array|WriteConcern|null $options = null): WriteResult {}
75+
final public function executeBulkWrite(string $namespace, BulkWrite $bulkWrite, array|WriteConcern|null $options = null): WriteResult {}
7676
#else
7777
/** @param array|WriteConcern|null $options */
78-
final public function executeBulkWrite(string $namespace, BulkWrite $zwrite, $options = null): WriteResult {}
78+
final public function executeBulkWrite(string $namespace, BulkWrite $bulkWrite, $options = null): WriteResult {}
7979
#endif
8080

8181
#if PHP_VERSION_ID >= 80000

src/MongoDB/Server_arginfo.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: ecc61a2cd5bd8d189bb3c8ab276a79e5f2a6089f */
2+
* Stub hash: 8c4e8b2bd6a1a5b0047a69ea3cd79399aa474a05 */
33

44
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_MongoDB_Driver_Server___construct, 0, 0, 0)
55
ZEND_END_ARG_INFO()
66

77
#if PHP_VERSION_ID >= 80000
88
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_MongoDB_Driver_Server_executeBulkWrite, 0, 2, MongoDB\\Driver\\WriteResult, 0)
99
ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 0)
10-
ZEND_ARG_OBJ_INFO(0, zwrite, MongoDB\\Driver\\BulkWrite, 0)
10+
ZEND_ARG_OBJ_INFO(0, bulkWrite, MongoDB\\Driver\\BulkWrite, 0)
1111
ZEND_ARG_OBJ_TYPE_MASK(0, options, MongoDB\\Driver\\WriteConcern, MAY_BE_ARRAY|MAY_BE_NULL, "null")
1212
ZEND_END_ARG_INFO()
1313
#endif
1414

1515
#if !(PHP_VERSION_ID >= 80000)
1616
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_MongoDB_Driver_Server_executeBulkWrite, 0, 2, MongoDB\\Driver\\WriteResult, 0)
1717
ZEND_ARG_TYPE_INFO(0, namespace, IS_STRING, 0)
18-
ZEND_ARG_OBJ_INFO(0, zwrite, MongoDB\\Driver\\BulkWrite, 0)
18+
ZEND_ARG_OBJ_INFO(0, bulkWrite, MongoDB\\Driver\\BulkWrite, 0)
1919
ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, options, "null")
2020
ZEND_END_ARG_INFO()
2121
#endif

0 commit comments

Comments
 (0)