library/Rediska/Command/Get.php
public function parseResponses($responses)
    {
        if (is_array($this->keyOrKeys)) {
            $result = array();
            if (!empty($responses)) {
                $mergedResponses = array();
                foreach($responses as $response) {
                    $mergedResponses = array_merge($mergedResponses, $response);
                }
                $unsortedResult = array();
                foreach($this->_keysByConnections as $i => $key) {
                    $unsortedResult[$key] = $mergedResponses[$i];
                }
                foreach($this->_keys as $key) {
                    if (isset($unsortedResult[$key])) {
                        $result[$key] = $this->_rediska->getSerializer()->unserialize($unsortedResult[$key]);
                    }
                }
            }

            return $result;
        } else {
            return $this->_rediska->getSerializer()->unserialize($responses[0]);
        }
    }
public function parseResponses($responses)
    {
        if (is_array($this->keyOrKeys)) {
            $result = array();
            if (!empty($responses)) {
                $mergedResponses = array();
                foreach($responses as $response) {
                    $mergedResponses = array_merge($mergedResponses, $response);
                }
                $unsortedResult = array();
                foreach($this->_keysByConnections as $i => $key) {
                    $unsortedResult[$key] = $mergedResponses[$i];
                }
                foreach($this->_keys as $key) {
                    if (isset($unsortedResult[$key])) {
                        $result[$key] = $this->_rediska->getSerializer()->unserialize($unsortedResult[$key]);
                    }
                }
            }

            return $result;
        } else {
            return $this->_rediska->getSerializer()->unserialize($responses[0]);
        }
    }
Parse responses

@param array $responses
@return mixed