Skip to content

Commit bb47c1d

Browse files
committed
PHPLIB-205: Document UnsupportedException for collation
1 parent 5936775 commit bb47c1d

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/Operation/Distinct.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ public function __construct($databaseName, $collectionName, $fieldName, $filter
9191
* @param Server $server
9292
* @return mixed[]
9393
* @throws UnexpectedValueException if the command response was malformed
94+
* @throws UnsupportedException if collation is used and unsupported
9495
*/
9596
public function execute(Server $server)
9697
{

src/Operation/Find.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ public function __construct($databaseName, $collectionName, $filter, array $opti
184184
* @see Executable::execute()
185185
* @param Server $server
186186
* @return Cursor
187+
* @throws UnsupportedException if collation is used and unsupported
187188
*/
188189
public function execute(Server $server)
189190
{

src/Operation/FindAndModify.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ public function __construct($databaseName, $collectionName, array $options)
142142
* @param Server $server
143143
* @return object|null
144144
* @throws UnexpectedValueException if the command response was malformed
145+
* @throws UnsupportedException if collation is used and unsupported
145146
*/
146147
public function execute(Server $server)
147148
{

0 commit comments

Comments
 (0)