Skip to content

Commit b77c255

Browse files
authored
Update src/Operation/Find.php
1 parent 882fa11 commit b77c255

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/Operation/Find.php

-6
Original file line numberDiff line numberDiff line change
@@ -348,12 +348,6 @@ private function createQueryOptions(): array
348348
}
349349
}
350350

351-
if (! empty($this->options['modifiers'])) {
352-
/** @psalm-var array|object */
353-
$modifiers = $this->options['modifiers'];
354-
$options['modifiers'] = is_object($modifiers) ? document_to_array($modifiers) : $modifiers;
355-
}
356-
357351
// Ensure no cursor is left behind when limit == batchSize by increasing batchSize
358352
if (isset($options['limit'], $options['batchSize']) && $options['limit'] === $options['batchSize']) {
359353
assert(is_integer($options['batchSize']));

0 commit comments

Comments
 (0)