mirror of
https://github.com/predis/predis.git
synced 2026-10-11 06:17:10 +00:00
Rename method ICommand::getCommandId() to ICommand::getId().
This commit is contained in:
@@ -49,7 +49,7 @@ class ConnectionCluster implements IConnectionCluster, \IteratorAggregate {
|
||||
public function getConnection(ICommand $command) {
|
||||
if ($command->canBeHashed() === false) {
|
||||
throw new ClientException(
|
||||
sprintf("Cannot send '%s' commands to a cluster of connections", $command->getCommandId())
|
||||
sprintf("Cannot send '%s' commands to a cluster of connections", $command->getId())
|
||||
);
|
||||
}
|
||||
return $this->_distributor->get($command->getHash($this->_distributor));
|
||||
|
||||
Reference in New Issue
Block a user