8000 fix symfony/symfony#46384 · symfony/symfony@813f241 · GitHub
[go: up one dir, main page]

Skip to content

Commit 813f241

Browse files
João Nogueiranicolas-grekas
authored andcommitted
fix #46384
1 parent 70b403d commit 813f241

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Cache/Traits/RedisTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ private function pipeline(\Closure $generator, object $redis = null): \Generator
571571
}
572572

573573
foreach ($ids as $k => $id) {
574-
yield $id => $results[$k];
574+
yield $id => is_array($results) ? $results[$k] : $results;
575575
}
576576
}
577577

0 commit comments

Comments
 (0)
0