original_string: private static function generateFuzzyTermsTwice(string $term): array
      {
          $terms = [];
          foreach (self::generateFuzzyTerms($term) as $term) {
              $terms[] = $term;
              $terms = array_merge($terms, self::generateFuzzyTerms($term));
          }
  
          return $terms;
      }
code: private static function generateFuzzyTermsTwice(string $term): array
      {
          $terms = [];
          foreach (self::generateFuzzyTerms($term) as $term) {
              $terms[] = $term;
              $terms = array_merge($terms, self::generateFuzzyTerms($term));
          }
  
          return $terms;
      }
code_tokens: private static function generateFuzzyTermsTwice ( string $ term ) : array { $ terms = [ ] ; foreach ( self :: generateFuzzyTerms ( $ term ) as $ term ) { $ terms [ ] = $ term ; $ terms = array_merge ( $ terms , self :: generateFuzzyTerms ( $ term ) ) ; } return $ terms ; }
docstring: Generates fuzzy terms twice.
docstring_tokens: Generates fuzzy terms twice .