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 436c2e7 commit aa71e7bCopy full SHA for aa71e7b
src/ClientBulkWrite.php
@@ -24,8 +24,8 @@
24
use MongoDB\Driver\BulkWriteCommand;
25
use MongoDB\Driver\Manager;
26
use MongoDB\Exception\InvalidArgumentException;
27
-
28
use stdClass;
+
29
use function is_array;
30
use function is_bool;
31
use function is_string;
src/Operation/ClientBulkWriteCommand.php
@@ -57,8 +57,7 @@ public function __construct(
57
private BulkWriteCommand $bulkWriteCommand,
58
/** @param array{session: ?Session, writeConcern: ?WriteConcern} */
59
private array $options = [],
60
- )
61
- {
+ ) {
62
if (count($bulkWriteCommand) === 0) {
63
throw new InvalidArgumentException('$bulkWriteCommand is empty');
64
}
0 commit comments