original_string: public function getConfig()
      {
          return [
              'cluster' => Config::get('database.redis.cluster'),
              'default' => [
                  'host' => $this->HAClient->getIpAddress(),
                  'port' => $this->HAClient->getPort(),
                  'password' => Config::get('database.redis.password', null),
                  'database' => Config::get('database.redis.database', 0),
              ]
          ];
      }
code: public function getConfig()
      {
          return [
              'cluster' => Config::get('database.redis.cluster'),
              'default' => [
                  'host' => $this->HAClient->getIpAddress(),
                  'port' => $this->HAClient->getPort(),
                  'password' => Config::get('database.redis.password', null),
                  'database' => Config::get('database.redis.database', 0),
              ]
          ];
      }
code_tokens: public function getConfig ( ) { return [ 'cluster' => Config :: get ( 'database.redis.cluster' ) , 'default' => [ 'host' => $ this -> HAClient -> getIpAddress ( ) , 'port' => $ this -> HAClient -> getPort ( ) , 'password' => Config :: get ( 'database.redis.password' , null ) , 'database' => Config :: get ( 'database.redis.database' , 0 ) , ] ] ; }
docstring: Get the config values for the redis database.
  
  @return array
docstring_tokens: Get the config values for the redis database .