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 ff9e162 commit 1befabeCopy full SHA for 1befabe
src/ClientBulkWrite.php
@@ -30,15 +30,15 @@
30
use function is_bool;
31
use function is_string;
32
33
-final readonly class ClientBulkWrite
+final class ClientBulkWrite
34
{
35
private function __construct(
36
- public BulkWriteCommand $bulkWriteCommand,
37
- private Manager $manager,
38
- private string $namespace,
+ public readonly BulkWriteCommand $bulkWriteCommand,
+ private readonly Manager $manager,
+ private readonly string $namespace,
39
/** @psalm-var Encoder<array|stdClass|Document|PackedArray, mixed> */
40
- private Encoder $builderEncoder,
41
- private ?DocumentCodec $codec,
+ private readonly Encoder $builderEncoder,
+ private readonly ?DocumentCodec $codec,
42
) {
43
}
44
0 commit comments