|
@@ -83,8 +83,7 @@ |
|
|
block discarded – undo |
|
83
|
83
|
$translited_words = $this->string_helper->arrayTranslit($search_array); |
|
84
|
84
|
|
|
85
|
85
|
$result = $this->strict === true ? |
|
86
|
|
- $this->fuzzy_helper->findBestMatch($word, $translited_words) : |
|
87
|
|
- key($this->fuzzy_helper->findMostSimilarWords($word, $translited_words)); |
|
|
86
|
+ $this->fuzzy_helper->findBestMatch($word, $translited_words) : key($this->fuzzy_helper->findMostSimilarWords($word, $translited_words)); |
|
88
|
87
|
|
|
89
|
88
|
return $result; |
|
90
|
89
|
} |
Please login to merge, or discard this patch.