Explorar el Código

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

Daniele Alessandri hace 15 años
padre
commit
abbc9108e0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);