Browse Source

Renamed a method of CommandPipeline to a more appropriate name

Daniele Alessandri 15 years ago
parent
commit
25d995942d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lib/Predis.php

+ 2 - 2
lib/Predis.php

@@ -501,10 +501,10 @@ class CommandPipeline {
 
     public function __call($method, $arguments) {
         $command = $this->_redisClient->createCommandInstance($method, $arguments);
-        $this->registerCommand($command);
+        $this->recordCommand($command);
     }
 
-    private function registerCommand(Command $command) {
+    private function recordCommand(Command $command) {
         $this->_pipelineBuffer[] = $command;
     }