8000 typo · symfony/symfony@029f89a · GitHub
[go: up one dir, main page]

Skip to content

Commit 029f89a

Browse files
typo
1 parent 88cdd3c commit 029f89a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Cache/Adapter/RedisAdapter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,10 +306,10 @@ private function pipeline(\Closure $generator)
306306
} elseif ($this->redis instanceof \RedisCluster) {
307307
// phpredis doesn't support pipelining with RedisCluster
308308
// see https://github.com/phpredis/phpredis/blob/develop/cluster.markdown#pipelining
309-
$result = array();
309+
$results = array();
310310
foreach ($generator() as $command => $args) {
311+
$results[] = call_user_func_array(array($this->redis, $command), $args);
311312
$ids[] = $args[0];
312-
$result[] = call_user_func_array(array($this->redis, $command), $args);
313313
}
314314
} else {
315315
$this->redis->multi(\Redis::PIPELINE);

0 commit comments

Comments
 (0)
0