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;
    }
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;
    }
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 ; }
Generates fuzzy terms twice.
Generates fuzzy terms twice .