Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 55231c6

Browse files
committedFeb 10, 2025··
Fix interface for builderEncoder option in phpdoc
1 parent dacd06e commit 55231c6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed
 

‎src/Client.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ class Client
9292
*
9393
* Supported driver-specific options:
9494
*
95-
* * builderEncoder (MongoDB\Builder\Encoder): Encoder for query and
95+
* * builderEncoder (MongoDB\Codec\Encoder): Encoder for query and
9696
* aggregation builders. If not given, the default encoder will be used.
9797
*
9898
* * typeMap (array): Default type map for cursors and BSON documents.

‎src/Collection.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ class Collection
114114
*
115115
* Supported options:
116116
*
117-
* * builderEncoder (MongoDB\Builder\Encoder): Encoder for query and
117+
* * builderEncoder (MongoDB\Codec\Encoder): Encoder for query and
118118
* aggregation builders. If not given, the default encoder will be used.
119119
*
120120
* * codec (MongoDB\Codec\DocumentCodec): Codec used to decode documents

‎src/Database.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class Database
9090
*
9191
* Supported options:
9292
*
93-
* * builderEncoder (MongoDB\Builder\Encoder): Encoder for query and
93+
* * builderEncoder (MongoDB\Codec\Encoder): Encoder for query and
9494
* aggregation builders. If not given, the default encoder will be used.
9595
*
9696
* * readConcern (MongoDB\Driver\ReadConcern): The default read concern to

‎src/Operation/BulkWrite.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class BulkWrite implements Executable
9898
*
9999
* Supported options for the bulk write operation:
100100
*
101-
* * builderEncoder (MongoDB\Builder\Encoder): Encoder for query and
101+
* * builderEncoder (MongoDB\Codec\Encoder): Encoder for query and
102102
* aggregation builders. If not given, the default encoder will be used.
103103
*
104104
* * bypassDocumentValidation (boolean): If true, allows the write to

0 commit comments

Comments
 (0)
Please sign in to comment.