8000 Merge branch '5.4' into 6.0 · symfony/cache@a87dd1e · GitHub
[go: up one dir, main page]

Skip to content

Commit a87dd1e

Browse files
Merge branch '5.4' into 6.0
* 5.4: [Mailer] Include all transports' debug messages in RoundRobin transport exception [FrameworkBundle] fix: fix help message Use relative timestamps [Cache] Fix dealing with ext-redis' multi/exec returning a bool [Messenger][Amqp] Added missing rpc_timeout option [Serializer] Prevent GetSetMethodNormalizer from creating invalid magic method call [HttpFoundation] Fix dumping array cookies [WebProfilerBundle] Fix dump header not being displayed TraceableHttpClient: increase decorator's priority Use static methods inside data providers [FrameworkBundle] Allow configuring `framework.exceptions` with a config builder bug #48313 [Mime] Fix MessagePart serialization [ErrorHandler][DebugClassLoader] Fix some new return types support Fix getting the name of closures on PHP 8.1.11+ [Translator] Fix typo "internal" / "interval" fix dumping top-level tagged values
2 parents 40cd232 + 93921d8 commit a87dd1e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Traits/RedisTrait.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,11 @@ private function pipeline(\Closure $generator, object $redis = null): \Generator
558558

559559
if (!$redis instanceof \Predis\ClientInterface && 'eval' === $command && $redis->getLastError()) {
560560
$e = new \RedisException($redis->getLastError());
561-
$results = array_map(function ($v) use ($e) { return false === $v ? $e : $v; }, $results);
561+
$results = array_map(function ($v) use ($e) { return false === $v ? $e : $v; }, (array) $results);
562+
}
563+
564+
if (\is_bool($results)) {
565+
return;
562566
}
563567

564568
foreach ($ids as $k => $id) {

0 commit comments

Comments
 (0)
0