Ver Fonte

Renamed a method of CommandPipeline to a more appropriate name

Daniele Alessandri há 15 anos atrás
pai
commit
25d995942d
1 ficheiros alterados com 2 adições e 2 exclusões
  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;
     }