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