mirror of
https://github.com/predis/predis.git
synced 2026-08-21 08:11:05 +00:00
Rename method ICommand::getCommandId() to ICommand::getId().
This commit is contained in:
@@ -17,7 +17,7 @@ class SimpleDebuggableConnection extends StreamConnection {
|
||||
private function storeDebug(ICommand $command, $direction) {
|
||||
$firtsArg = $command->getArgument(0);
|
||||
$timestamp = round(microtime(true) - $this->_tstart, 4);
|
||||
$debug = $command->getCommandId();
|
||||
$debug = $command->getId();
|
||||
$debug .= isset($firtsArg) ? " $firtsArg " : ' ';
|
||||
$debug .= "$direction $this";
|
||||
$debug .= " [{$timestamp}s]";
|
||||
|
||||
Reference in New Issue
Block a user