Skip to content

Commit a4b536a

Browse files
authored
PHPC-2403: Remove optional sparsity and trimFactor options (#1628)
1 parent af44500 commit a4b536a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/clientEncryption/clientEncryption-encryptExpression-001.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ $encryptOpts = [
2525
'algorithm' => MongoDB\Driver\ClientEncryption::ALGORITHM_RANGE,
2626
'queryType' => MongoDB\Driver\ClientEncryption::QUERY_TYPE_RANGE,
2727
'contentionFactor' => 0,
28-
'rangeOpts' => ['min' => 0, 'max' => 200, 'sparsity' => 1, 'trimFactor' => 1],
28+
'rangeOpts' => ['min' => 0, 'max' => 200],
2929
];
3030

3131
$expr = [

tests/clientEncryption/clientEncryption-encryptExpression_error-002.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ $encryptOpts = [
2525
'algorithm' => MongoDB\Driver\ClientEncryption::ALGORITHM_RANGE,
2626
'queryType' => MongoDB\Driver\ClientEncryption::QUERY_TYPE_RANGE,
2727
'contentionFactor' => 0,
28-
'rangeOpts' => ['min' => 0, 'max' => 200, 'sparsity' => 1, 'trimFactor' => 1],
28+
'rangeOpts' => ['min' => 0, 'max' => 200],
2929
];
3030

3131
echo throws(function() use ($clientEncryption, $encryptOpts) {

0 commit comments

Comments
 (0)