library/Rediska/Command/ShiftFromListBlocking.php
public function parseResponse($response)
    {
        if (!is_array($this->keyOrKeys) && !empty($response)) {
            $result = $this->_rediska->getSerializer()->unserialize($response[1]);
        } else {
            $result = Rediska_Command_Response_ListNameAndValue::factory($this->_rediska, $response);
        }

        return $result;
    }
public function parseResponse($response)
    {
        if (!is_array($this->keyOrKeys) && !empty($response)) {
            $result = $this->_rediska->getSerializer()->unserialize($response[1]);
        } else {
            $result = Rediska_Command_Response_ListNameAndValue::factory($this->_rediska, $response);
        }

        return $result;
    }
Parse response

@param array|string $response
@return mixed