original_string: public function get_having(array $cfg): string
    {
      $res = '';
      if ( !empty($cfg['group_by']) && !empty($cfg['having']) && ($cond = $this->get_conditions($cfg['having'], $cfg, true)) ){
        $res .= 'HAVING '.$cond.PHP_EOL;
      }
      return $res;
    }
code: public function get_having(array $cfg): string
    {
      $res = '';
      if ( !empty($cfg['group_by']) && !empty($cfg['having']) && ($cond = $this->get_conditions($cfg['having'], $cfg, true)) ){
        $res .= 'HAVING '.$cond.PHP_EOL;
      }
      return $res;
    }
code_tokens: public function get_having ( array $ cfg ) : string { $ res = '' ; if ( ! empty ( $ cfg [ 'group_by' ] ) && ! empty ( $ cfg [ 'having' ] ) && ( $ cond = $ this -> get_conditions ( $ cfg [ 'having' ] , $ cfg , true ) ) ) { $ res .= 'HAVING ' . $ cond . PHP_EOL ; } return $ res ; }
docstring: Returns a string with the HAVING part of the query if there is, empty otherwise
  
  @param array $cfg
  @return string
docstring_tokens: Returns a string with the HAVING part of the query if there is empty otherwise