Skip to content

Commit 99d7f63

Browse files
tuyakhovjmikola
authored andcommitted
Fix distinct maxTimeMS option
1 parent 6e5d702 commit 99d7f63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Operation/Distinct.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ private function createCommand()
105105
}
106106

107107
if (isset($this->options['maxTimeMS'])) {
108-
$cmd[$option] = $this->options['maxTimeMS'];
108+
$cmd['maxTimeMS'] = $this->options['maxTimeMS'];
109109
}
110110

111111
return new Command($cmd);

0 commit comments

Comments
 (0)