diff --git a/Client/Phpredis/Client.php b/Client/Phpredis/Client.php index 5e943f3c..b826de88 100644 --- a/Client/Phpredis/Client.php +++ b/Client/Phpredis/Client.php @@ -592,7 +592,7 @@ public function sGetMembers() */ public function sScan($key, &$iterator, $pattern = null, $count = null) { - return $this->call('sScan', array($key, $iterator, $pattern, $count)); + return $this->call('sScan', array($key, &$iterator, $pattern, $count)); } /** @@ -1136,7 +1136,7 @@ public function zInter() */ public function zScan($key, &$iterator, $pattern = null, $count = null) { - return $this->call('zScan', array($key, $iterator, $pattern, $count)); + return $this->call('zScan', array($key, &$iterator, $pattern, $count)); } /** @@ -1248,7 +1248,7 @@ public function hMGet() */ public function hScan($key, &$iterator, $pattern = null, $count = null) { - return $this->call('hScan', array($key, $iterator, $pattern, $count)); + return $this->call('hScan', array($key, &$iterator, $pattern, $count)); } /** @@ -1344,7 +1344,7 @@ public function time() */ public function scan(&$iterator, $pattern = null, $count = null) { - return $this->call('scan', array($iterator, $pattern, $count)); + return $this->call('scan', array(&$iterator, $pattern, $count)); } /**