We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 749f0aa + b44164c commit 9590203Copy full SHA for 9590203
src/Operation/Find.php
@@ -218,11 +218,11 @@ private function createQuery()
218
$modifiers = empty($this->options['modifiers']) ? [] : (array) $this->options['modifiers'];
219
220
if (isset($this->options['comment'])) {
221
- $modifiers['$comment'] = $options['comment'];
+ $modifiers['$comment'] = $this->options['comment'];
222
}
223
224
if (isset($this->options['maxTimeMS'])) {
225
- $modifiers['$maxTimeMS'] = $options['maxTimeMS'];
+ $modifiers['$maxTimeMS'] = $this->options['maxTimeMS'];
226
227
228
if ( ! empty($modifiers)) {
0 commit comments