original_string: public static function getFuzzyTerms(string $term, $mode): array
      {
          $distance = self::getFuzzyDistance($term, $mode);
          if (1 === $distance) {
              return self::generateFuzzyTerms($term);
          }
  
          return self::generateFuzzyTermsTwice($term);
      }
code: public static function getFuzzyTerms(string $term, $mode): array
      {
          $distance = self::getFuzzyDistance($term, $mode);
          if (1 === $distance) {
              return self::generateFuzzyTerms($term);
          }
  
          return self::generateFuzzyTermsTwice($term);
      }
code_tokens: public static function getFuzzyTerms ( string $ term , $ mode ) : array { $ distance = self :: getFuzzyDistance ( $ term , $ mode ) ; if ( 1 === $ distance ) { return self :: generateFuzzyTerms ( $ term ) ; } return self :: generateFuzzyTermsTwice ( $ term ) ; }
docstring: Returns fuzzy terms.
  
  @param mixed $mode 1, 2, 'AUTO'
docstring_tokens: Returns fuzzy terms .