diff --git a/lib/Predis.php b/lib/Predis.php index 267f50a4..d777614a 100644 --- a/lib/Predis.php +++ b/lib/Predis.php @@ -400,7 +400,7 @@ class CommandPipeline { } $connection = $this->_redisClient->getConnection(); - $commands = &$this->getRecordedCommands(); + $commands = $this->getRecordedCommands(); foreach ($commands as $command) { $connection->writeCommand($command);