Skip to content

Commit

Permalink
PHPC-2403: Remove optional sparsity and trimFactor options
Browse files Browse the repository at this point in the history
  • Loading branch information
alcaeus committed Sep 4, 2024
1 parent 3d37eb5 commit feb5da8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ $encryptOpts = [
'algorithm' => MongoDB\Driver\ClientEncryption::ALGORITHM_RANGE,
'queryType' => MongoDB\Driver\ClientEncryption::QUERY_TYPE_RANGE,
'contentionFactor' => 0,
'rangeOpts' => ['min' => 0, 'max' => 200, 'sparsity' => 1, 'trimFactor' => 1],
'rangeOpts' => ['min' => 0, 'max' => 200],
];

$expr = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ $encryptOpts = [
'algorithm' => MongoDB\Driver\ClientEncryption::ALGORITHM_RANGE,
'queryType' => MongoDB\Driver\ClientEncryption::QUERY_TYPE_RANGE,
'contentionFactor' => 0,
'rangeOpts' => ['min' => 0, 'max' => 200, 'sparsity' => 1, 'trimFactor' => 1],
'rangeOpts' => ['min' => 0, 'max' => 200],
];

echo throws(function() use ($clientEncryption, $encryptOpts) {
Expand Down

0 comments on commit feb5da8

Please sign in to comment.