Skip to content

Commit c9ee435

Browse files
committed
CreateIndexes::executeCommand() need not return anything
1 parent 1d6300f commit c9ee435

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Operation/CreateIndexes.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,7 @@ private function executeCommand(Server $server)
9797
'indexes' => $this->indexes,
9898
]);
9999

100-
$cursor = $server->executeCommand($this->databaseName, $command);
101-
102-
return current($cursor->toArray());
100+
$server->executeCommand($this->databaseName, $command);
103101
}
104102

105103
/**

0 commit comments

Comments
 (0)