diff --git a/lib/Predis.php b/lib/Predis.php index 6d16fe8f..85da0102 100644 --- a/lib/Predis.php +++ b/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() {