Completed
Push — master ( d5b4b1...d6e5b5 )
by Konstantin
03:44
created
app/models/GeoFixer.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
 
118 118
     /**
119 119
      * @param $city
120
-     * @param $region_code
120
+     * @param string $region_code
121 121
      *
122 122
      * @return bool|mixed
123 123
      */
@@ -252,7 +252,7 @@  discard block
 block discarded – undo
252 252
      * (теоретически, снизит кол-во слов, которые придется обрабатывать алгоритмом и тем самым увеличит скорость работы, но может не найти слово, если первые буквы не совпадают
253 253
      * из-за опечатки или префиксов)
254 254
      *
255
-     * @param int|bool $count
255
+     * @param boolean $count
256 256
      */
257 257
     public function isFirstLetters($count = false)
258 258
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -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.