private function createSimple(): Redis
    {
        $redis = new Redis();
        $redis->connect($this->config['host'], (int) $this->config['port']);
        $redis->setOption(Redis::OPT_READ_TIMEOUT, '-1');
        if ($this->config['database']) {
            $redis->select($this->config['database']);
        }

        return $redis;
    }
private function createSimple(): Redis
    {
        $redis = new Redis();
        $redis->connect($this->config['host'], (int) $this->config['port']);
        $redis->setOption(Redis::OPT_READ_TIMEOUT, '-1');
        if ($this->config['database']) {
            $redis->select($this->config['database']);
        }

        return $redis;
    }
private function createSimple ( ) : Redis { $ redis = new Redis ( ) ; $ redis -> connect ( $ this -> config [ 'host' ] , ( int ) $ this -> config [ 'port' ] ) ; $ redis -> setOption ( Redis :: OPT_READ_TIMEOUT , '-1' ) ; if ( $ this -> config [ 'database' ] ) { $ redis -> select ( $ this -> config [ 'database' ] ) ; } return $ redis ; }
Create single redis.

@return Redis
Create single redis .