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 bb34d7f commit 72f5b6eCopy full SHA for 72f5b6e
src/Operation/ClientBulkWriteCommand.php
@@ -88,7 +88,7 @@ public function execute(Server $server): BulkWriteCommandResult
88
throw UnsupportedException::writeConcernNotSupportedInTransaction();
89
}
90
91
- $options = array_filter($this->options, fn ($value) => isset($value));
+ $options = array_filter($this->options, fn ($value) => $value !== null);
92
93
return $server->executeBulkWriteCommand($this->bulkWriteCommand, $options);
94
0 commit comments