Commit c9ee435c authored by Jeremy Mikola's avatar Jeremy Mikola

CreateIndexes::executeCommand() need not return anything

parent 1d6300f6
...@@ -97,9 +97,7 @@ class CreateIndexes implements Executable ...@@ -97,9 +97,7 @@ class CreateIndexes implements Executable
'indexes' => $this->indexes, 'indexes' => $this->indexes,
]); ]);
$cursor = $server->executeCommand($this->databaseName, $command); $server->executeCommand($this->databaseName, $command);
return current($cursor->toArray());
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment