Ver Fonte

Slight micro-optimization.

Daniele Alessandri há 14 anos atrás
pai
commit
8f601b8420
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      lib/Predis.php

+ 2 - 2
lib/Predis.php

@@ -468,12 +468,12 @@ abstract class Command implements ICommand {
 
     public function setArguments(/* arguments */) {
         $this->_arguments = $this->filterArguments(func_get_args());
-        $this->_hash = null;
+        unset($this->_hash);
     }
 
     public function setArgumentsArray(Array $arguments) {
         $this->_arguments = $this->filterArguments($arguments);
-        $this->_hash = null;
+        unset($this->_hash);
     }
 
     public function getArguments() {