Переглянути джерело

Fixed another E_STRICT notice that was being raised when using a pipeline.

Daniele Alessandri 15 роки тому
батько
коміт
abbc9108e0
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      lib/Predis.php

+ 1 - 1
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);