Skip to content

Commit 104b2f8

Browse files
authored
PHPC-2124: Ensure that null is still accepted for optional parameters (#1347)
1 parent b590d79 commit 104b2f8

16 files changed

+47
-47
lines changed

src/BSON/Decimal128.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
final class Decimal128 implements Decimal128Interface, \JsonSerializable, Type, \Serializable
1111
{
12-
final public function __construct(string $value = '') {}
12+
final public function __construct(string $value) {}
1313

1414
final public function __toString(): string {}
1515

src/BSON/Decimal128_arginfo.h

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

4-
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_MongoDB_BSON_Decimal128___construct, 0, 0, 0)
5-
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, value, IS_STRING, 0, "\'\'")
4+
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_MongoDB_BSON_Decimal128___construct, 0, 0, 1)
5+
ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0)
66
ZEND_END_ARG_INFO()
77

88
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_MongoDB_BSON_Decimal128___toString, 0, 0, IS_STRING, 0)

src/MongoDB/BulkWrite.stub.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99

1010
final class BulkWrite implements \Countable
1111
{
12-
public final function __construct(array $options = []) {}
12+
public final function __construct(?array $options = null) {}
1313

1414
public function count(): int {}
1515

1616
#if PHP_VERSION_ID >= 80000
17-
public function delete(array|object $filter, array $deleteOptions = []): void {}
17+
public function delete(array|object $filter, ?array $deleteOptions = null): void {}
1818
#else
1919
/** @param array|object $filter */
20-
public function delete($filter, array $deleteOptions = []): void {}
20+
public function delete($filter, ?array $deleteOptions = null): void {}
2121
#endif
2222

2323
#if PHP_VERSION_ID >= 80000
@@ -31,13 +31,13 @@ public final function insert($document) {}
3131
#endif
3232

3333
#if PHP_VERSION_ID >= 80000
34-
public function update(array|object $filter, array|object $newObj, array $updateOptions = []): void {}
34+
public function update(array|object $filter, array|object $newObj, ?array $updateOptions = null): void {}
3535
#else
3636
/**
3737
* @param array|object $filter
3838
* @param array|object $newObj
3939
*/
40-
public function update($filter, $newObj, array $updateOptions = []): void {}
40+
public function update($filter, $newObj, ?array $updateOptions = null): void {}
4141
#endif
4242

4343
final public function __wakeup(): void {}

src/MongoDB/BulkWrite_arginfo.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: 3325b767b4321a1837fa7a8aef924a39e6e6816d */
2+
* Stub hash: 179d375c7c122723254e7b19dd97f8ef33caf38c */
33

44
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_MongoDB_Driver_BulkWrite___construct, 0, 0, 0)
5-
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 0, "[]")
5+
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 1, "null")
66
ZEND_END_ARG_INFO()
77

88
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_MongoDB_Driver_BulkWrite_count, 0, 0, IS_LONG, 0)
@@ -11,14 +11,14 @@ ZEND_END_ARG_INFO()
1111
#if PHP_VERSION_ID >= 80000
1212
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_MongoDB_Driver_BulkWrite_delete, 0, 1, IS_VOID, 0)
1313
ZEND_ARG_TYPE_MASK(0, filter, MAY_BE_ARRAY|MAY_BE_OBJECT, NULL)
14-
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, deleteOptions, IS_ARRAY, 0, "[]")
14+
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, deleteOptions, IS_ARRAY, 1, "null")
1515
ZEND_END_ARG_INFO()
1616
#endif
1717

1818
#if !(PHP_VERSION_ID >= 80000)
1919
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_MongoDB_Driver_BulkWrite_delete, 0, 1, IS_VOID, 0)
2020
ZEND_ARG_INFO(0, filter)
21-
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, deleteOptions, IS_ARRAY, 0, "[]")
21+
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, deleteOptions, IS_ARRAY, 1, "null")
2222
ZEND_END_ARG_INFO()
2323
#endif
2424

@@ -38,15 +38,15 @@ ZEND_END_ARG_INFO()
3838
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_MongoDB_Driver_BulkWrite_update, 0, 2, IS_VOID, 0)
3939
ZEND_ARG_TYPE_MASK(0, filter, MAY_BE_ARRAY|MAY_BE_OBJECT, NULL)
4040
ZEND_ARG_TYPE_MASK(0, newObj, MAY_BE_ARRAY|MAY_BE_OBJECT, NULL)
41-
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, updateOptions, IS_ARRAY, 0, "[]")
41+
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, updateOptions, IS_ARRAY, 1, "null")
4242
ZEND_END_ARG_INFO()
4343
#endif
4444

4545
#if !(PHP_VERSION_ID >= 80000)
4646
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_MongoDB_Driver_BulkWrite_update, 0, 2, IS_VOID, 0)
4747
ZEND_ARG_INFO(0, filter)
4848
ZEND_ARG_INFO(0, newObj)
49-
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, updateOptions, IS_ARRAY, 0, "[]")
49+
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, updateOptions, IS_ARRAY, 1, "null")
5050
ZEND_END_ARG_INFO()
5151
#endif
5252

src/MongoDB/ClientEncryption.stub.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ final class ClientEncryption
4141

4242
final public function __construct(array $options) {}
4343

44-
final public function createDataKey(string $kmsProvider, array $options = []): \MongoDB\BSON\Binary {}
44+
final public function createDataKey(string $kmsProvider, ?array $options = null): \MongoDB\BSON\Binary {}
4545

4646
#if PHP_VERSION_ID >= 80000
4747
final public function decrypt(\MongoDB\BSON\Binary $value): mixed {}
@@ -51,10 +51,10 @@ final public function decrypt(\MongoDB\BSON\Binary $value) {}
5151
#endif
5252

5353
#if PHP_VERSION_ID >= 80000
54-
final public function encrypt(mixed $value, array $options = []): \MongoDB\BSON\Binary {}
54+
final public function encrypt(mixed $value, ?array $options = null): \MongoDB\BSON\Binary {}
5555
#else
5656
/** @param mixed $value */
57-
final public function encrypt($value, array $options = []): \MongoDB\BSON\Binary {}
57+
final public function encrypt($value, ?array $options = null): \MongoDB\BSON\Binary {}
5858
#endif
5959

6060
final public function __wakeup(): void {}

src/MongoDB/ClientEncryption_arginfo.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: 169e941e986be2158c89ddba5d5f930cb8fa6bfe */
2+
* Stub hash: 09ec24f8af5aba4c88dc3ee4bcc77022d7cc0b9c */
33

44
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_MongoDB_Driver_ClientEncryption___construct, 0, 0, 1)
55
ZEND_ARG_TYPE_INFO(0, options, IS_ARRAY, 0)
66
ZEND_END_ARG_INFO()
77

88
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_MongoDB_Driver_ClientEncryption_createDataKey, 0, 1, MongoDB\\BSON\\Binary, 0)
99
ZEND_ARG_TYPE_INFO(0, kmsProvider, IS_STRING, 0)
10-
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 0, "[]")
10+
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 1, "null")
1111
ZEND_END_ARG_INFO()
1212

1313
#if PHP_VERSION_ID >= 80000
@@ -25,14 +25,14 @@ ZEND_END_ARG_INFO()
2525
#if PHP_VERSION_ID >= 80000
2626
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_MongoDB_Driver_ClientEncryption_encrypt, 0, 1, MongoDB\\BSON\\Binary, 0)
2727
ZEND_ARG_TYPE_INFO(0, value, IS_MIXED, 0)
28-
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 0, "[]")
28+
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 1, "null")
2929
ZEND_END_ARG_INFO()
3030
#endif
3131

3232
#if !(PHP_VERSION_ID >= 80000)
3333
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_MongoDB_Driver_ClientEncryption_encrypt, 0, 1, MongoDB\\BSON\\Binary, 0)
3434
ZEND_ARG_INFO(0, value)
35-
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 0, "[]")
35+
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 1, "null")
3636
ZEND_END_ARG_INFO()
3737
#endif
3838

src/MongoDB/Command.stub.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
final class Command
1111
{
1212
#if PHP_VERSION_ID >= 80000
13-
final public function __construct(array|object $document, array $commandOptions = []) {}
13+
final public function __construct(array|object $document, ?array $commandOptions = null) {}
1414
#else
1515
/** @param array|object $document */
16-
final public function __construct($document, array $commandOptions = []) {}
16+
final public function __construct($document, ?array $commandOptions = null) {}
1717
#endif
1818

1919
final public function __wakeup(): void {}

src/MongoDB/Command_arginfo.h

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

44
#if PHP_VERSION_ID >= 80000
55
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_MongoDB_Driver_Command___construct, 0, 0, 1)
66
ZEND_ARG_TYPE_MASK(0, document, MAY_BE_ARRAY|MAY_BE_OBJECT, NULL)
7-
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, commandOptions, IS_ARRAY, 0, "[]")
7+
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, commandOptions, IS_ARRAY, 1, "null")
88
ZEND_END_ARG_INFO()
99
#endif
1010

1111
#if !(PHP_VERSION_ID >= 80000)
1212
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_MongoDB_Driver_Command___construct, 0, 0, 1)
1313
ZEND_ARG_INFO(0, document)
14-
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, commandOptions, IS_ARRAY, 0, "[]")
14+
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, commandOptions, IS_ARRAY, 1, "null")
1515
ZEND_END_ARG_INFO()
1616
#endif
1717

src/MongoDB/Manager.stub.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ final public function executeQuery(string $namespace, Query $query, array|ReadPr
3636
final public function executeQuery(string $namespace, Query $query, $options = null): Cursor {}
3737
#endif
3838

39-
final public function executeReadCommand(string $db, Command $command, array $options = []): Cursor {}
39+
final public function executeReadCommand(string $db, Command $command, ?array $options = null): Cursor {}
4040

41-
final public function executeReadWriteCommand(string $db, Command $command, array $options = []): Cursor {}
41+
final public function executeReadWriteCommand(string $db, Command $command, ?array $options = null): Cursor {}
4242

43-
final public function executeWriteCommand(string $db, Command $command, array $options = []): Cursor {}
43+
final public function executeWriteCommand(string $db, Command $command, ?array $options = null): Cursor {}
4444

4545
#if PHP_VERSION_ID >= 80000
4646
final public function getEncryptedFieldsMap(): array|object|null {}
@@ -61,7 +61,7 @@ final public function removeSubscriber(Monitoring\Subscriber $subscriber): void
6161

6262
final public function selectServer(?ReadPreference $readPreference = null): Server {}
6363

64-
final public function startSession(array $options = []): Session {}
64+
final public function startSession(?array $options = null): Session {}
6565

6666
final public function __wakeup(): void {}
6767
}

src/MongoDB/Manager_arginfo.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: 516a26c70864397ba986d9855f4f876fe84bceb9 */
2+
* Stub hash: 4b4373da62f18f2c3ab6aae78a495ed84adbe09b */
33

44
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_MongoDB_Driver_Manager___construct, 0, 0, 0)
55
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, uri, IS_STRING, 1, "null")
@@ -66,7 +66,7 @@ ZEND_END_ARG_INFO()
6666
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_MongoDB_Driver_Manager_executeReadCommand, 0, 2, MongoDB\\Driver\\Cursor, 0)
6767
ZEND_ARG_TYPE_INFO(0, db, IS_STRING, 0)
6868
ZEND_ARG_OBJ_INFO(0, command, MongoDB\\Driver\\Command, 0)
69-
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 0, "[]")
69+
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 1, "null")
7070
ZEND_END_ARG_INFO()
7171

7272
#define arginfo_class_MongoDB_Driver_Manager_executeReadWriteCommand arginfo_class_MongoDB_Driver_Manager_executeReadCommand
@@ -102,7 +102,7 @@ ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_MongoDB_Driver_Manager_sele
102102
ZEND_END_ARG_INFO()
103103

104104
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_MongoDB_Driver_Manager_startSession, 0, 0, MongoDB\\Driver\\Session, 0)
105-
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 0, "[]")
105+
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 1, "null")
106106
ZEND_END_ARG_INFO()
107107

108108
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_MongoDB_Driver_Manager___wakeup, 0, 0, IS_VOID, 0)

src/MongoDB/Query.stub.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
final class Query
1111
{
1212
#if PHP_VERSION_ID >= 80000
13-
final public function __construct(array|object $filter, array $queryOptions = []) {}
13+
final public function __construct(array|object $filter, ?array $queryOptions = null) {}
1414
#else
1515
/** @param array|object $filter */
16-
final public function __construct($filter, array $queryOptions = []) {}
16+
final public function __construct($filter, ?array $queryOptions = null) {}
1717
#endif
1818

1919
final public function __wakeup(): void {}

src/MongoDB/Query_arginfo.h

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

44
#if PHP_VERSION_ID >= 80000
55
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_MongoDB_Driver_Query___construct, 0, 0, 1)
66
ZEND_ARG_TYPE_MASK(0, filter, MAY_BE_ARRAY|MAY_BE_OBJECT, NULL)
7-
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, queryOptions, IS_ARRAY, 0, "[]")
7+
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, queryOptions, IS_ARRAY, 1, "null")
88
ZEND_END_ARG_INFO()
99
#endif
1010

1111
#if !(PHP_VERSION_ID >= 80000)
1212
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_MongoDB_Driver_Query___construct, 0, 0, 1)
1313
ZEND_ARG_INFO(0, filter)
14-
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, queryOptions, IS_ARRAY, 0, "[]")
14+
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, queryOptions, IS_ARRAY, 1, "null")
1515
ZEND_END_ARG_INFO()
1616
#endif
1717

src/MongoDB/Server.stub.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,11 @@ final public function executeQuery(string $namespace, Query $query, array|ReadPr
9292
final public function executeQuery(string $namespace, Query $query, $options = null): Cursor {}
9393
#endif
9494

95-
final public function executeReadCommand(string $db, Command $command, array $options = []): Cursor {}
95+
final public function executeReadCommand(string $db, Command $command, ?array $options = null): Cursor {}
9696

97-
final public function executeReadWriteCommand(string $db, Command $command, array $options = []): Cursor {}
97+
final public function executeReadWriteCommand(string $db, Command $command, ?array $options = null): Cursor {}
9898

99-
final public function executeWriteCommand(string $db, Command $command, array $options = []): Cursor {}
99+
final public function executeWriteCommand(string $db, Command $command, ?array $options = null): Cursor {}
100100

101101
final public function getHost(): string {}
102102

src/MongoDB/Server_arginfo.h

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

44
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_MongoDB_Driver_Server___construct, 0, 0, 0)
55
ZEND_END_ARG_INFO()
@@ -55,7 +55,7 @@ ZEND_END_ARG_INFO()
5555
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_MongoDB_Driver_Server_executeReadCommand, 0, 2, MongoDB\\Driver\\Cursor, 0)
5656
ZEND_ARG_TYPE_INFO(0, db, IS_STRING, 0)
5757
ZEND_ARG_OBJ_INFO(0, command, MongoDB\\Driver\\Command, 0)
58-
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 0, "[]")
58+
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 1, "null")
5959
ZEND_END_ARG_INFO()
6060

6161
#define arginfo_class_MongoDB_Driver_Server_executeReadWriteCommand arginfo_class_MongoDB_Driver_Server_executeReadCommand

src/MongoDB/Session.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ final public function isDirty(): bool {}
7272

7373
final public function isInTransaction(): bool {}
7474

75-
final public function startTransaction(?array $options = []): void {}
75+
final public function startTransaction(?array $options = null): void {}
7676

7777
final public function __wakeup(): void {}
7878
}

src/MongoDB/Session_arginfo.h

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

44
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_MongoDB_Driver_Session___construct, 0, 0, 0)
55
ZEND_END_ARG_INFO()
@@ -51,7 +51,7 @@ ZEND_END_ARG_INFO()
5151
#define arginfo_class_MongoDB_Driver_Session_isInTransaction arginfo_class_MongoDB_Driver_Session_isDirty
5252

5353
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_MongoDB_Driver_Session_startTransaction, 0, 0, IS_VOID, 0)
54-
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 1, "[]")
54+
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 1, "null")
5555
ZEND_END_ARG_INFO()
5656

5757
#define arginfo_class_MongoDB_Driver_Session___wakeup arginfo_class_MongoDB_Driver_Session_abortTransaction

0 commit comments

Comments
 (0)