Skip to content

Commit 1befabe

Browse files
committed
Remove readonly qualifier on the class, PHP 8.2 would be required
1 parent ff9e162 commit 1befabe

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/ClientBulkWrite.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@
3030
use function is_bool;
3131
use function is_string;
3232

33-
final readonly class ClientBulkWrite
33+
final class ClientBulkWrite
3434
{
3535
private function __construct(
36-
public BulkWriteCommand $bulkWriteCommand,
37-
private Manager $manager,
38-
private string $namespace,
36+
public readonly BulkWriteCommand $bulkWriteCommand,
37+
private readonly Manager $manager,
38+
private readonly string $namespace,
3939
/** @psalm-var Encoder<array|stdClass|Document|PackedArray, mixed> */
40-
private Encoder $builderEncoder,
41-
private ?DocumentCodec $codec,
40+
private readonly Encoder $builderEncoder,
41+
private readonly ?DocumentCodec $codec,
4242
) {
4343
}
4444

0 commit comments

Comments
 (0)