Skip to content

Commit b433869

Browse files
committed
Remove unused method argument
1 parent 4957c80 commit b433869

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
@@ -107,7 +107,7 @@ public function execute(Server $server)
107107

108108
$readPreference = isset($this->options['readPreference']) ? $this->options['readPreference'] : null;
109109

110-
$cursor = $server->executeCommand($this->databaseName, $this->createCommand($server), $readPreference);
110+
$cursor = $server->executeCommand($this->databaseName, $this->createCommand(), $readPreference);
111111
$result = current($cursor->toArray());
112112

113113
if ( ! isset($result->values) || ! is_array($result->values)) {

0 commit comments

Comments
 (0)