mirror of
https://github.com/predis/predis.git
synced 2026-08-30 20:21:31 +00:00
Use an explicit index to add values to the multi-bulk reply array.
This commit is contained in:
+1
-1
@@ -617,7 +617,7 @@ class ResponseMultiBulkHandler implements IResponseHandler {
|
||||
if ($listLength > 0) {
|
||||
$reader = $connection->getResponseReader();
|
||||
for ($i = 0; $i < $listLength; $i++) {
|
||||
$list[] = $reader->read($connection);
|
||||
$list[$i] = $reader->read($connection);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user