ソースを参照

Slight micro-optimization.

Daniele Alessandri 15 年 前
コミット
d3ba25436c
1 ファイル変更2 行追加2 行削除
  1. 2 2
      lib/Predis.php

+ 2 - 2
lib/Predis.php

@@ -460,12 +460,12 @@ abstract class Command {
 
     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() {