Эх сурвалжийг харах

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

Daniele Alessandri 15 жил өмнө
parent
commit
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);