Completed
Push — master ( e4050c...2f964d )
by Nenad
11s
created
src/TNTSearchScoutServiceProvider.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -43,6 +43,9 @@  discard block
 block discarded – undo
43 43
         });
44 44
     }
45 45
 
46
+    /**
47
+     * @param TNTSearch $tnt
48
+     */
46 49
     protected function setFuzziness($tnt)
47 50
     {
48 51
         $tnt->fuzziness            = config('scout.tntsearch.fuzziness', $tnt->fuzziness);
@@ -51,6 +54,9 @@  discard block
 block discarded – undo
51 54
         $tnt->fuzzy_max_expansions = config('scout.tntsearch.fuzzy.max_expansions', $tnt->fuzzy_max_expansions);
52 55
     }
53 56
 
57
+    /**
58
+     * @param TNTSearch $tnt
59
+     */
54 60
     protected function setAsYouType($tnt)
55 61
     {
56 62
         $tnt->asYouType = config('scout.tntsearch.asYouType', $tnt->asYouType);
Please login to merge, or discard this patch.
src/Engines/TNTSearchEngine.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
      *
215 215
      * @param \Illuminate\Database\Eloquent\Model $model
216 216
      *
217
-     * @return Builder
217
+     * @return \Illuminate\Support\Collection
218 218
      */
219 219
     public function getBuilder($model)
220 220
     {
@@ -278,6 +278,7 @@  discard block
 block discarded – undo
278 278
      * The constraints usually remove only a small amount of results, which is why the non
279 279
      * matching results are looked up and removed, instead of returning a collection with
280 280
      * all the valid results.
281
+     * @param Builder $builder
281 282
      */
282 283
     private function discardIdsFromResultSetByConstraints($builder, $searchResults)
283 284
     {
Please login to merge, or discard this patch.