From e79bf7a8a3f5540cad7c27e7586c99628a92a071 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Sat, 3 Aug 2024 00:52:47 +0200 Subject: [PATCH] Fix CS in Client (#189) --- Client.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Client.php b/Client.php index 43ae03c..e61c501 100755 --- a/Client.php +++ b/Client.php @@ -1152,12 +1152,12 @@ public function __call($name, $args) if ($this->isMulti) { $execResponse = array_pop($response); - if(!empty($execResponse)) { + if (!empty($execResponse)) { foreach ($queuedResponses as $key => $command) { list($name, $arguments) = $command; $response[] = $this->decode_reply($name, $execResponse[$key], $arguments); } - } + } } } catch (CredisException $e) { // the connection on redis's side is likely in a bad state, force it closed to abort the pipeline/transaction