Completed
Push — master ( 3555f5...b73a09 )
by Nenad
01:40
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/Console/StatusCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
     }
130 130
 
131 131
     /**
132
-     * @param $trait
132
+     * @param string $trait
133 133
      * @return \Closure
134 134
      */
135 135
     private function isSearchableModel($trait)
Please login to merge, or discard this patch.
src/Events/SearchPerformed.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -4,6 +4,9 @@
 block discarded – undo
4 4
 
5 5
 class SearchPerformed
6 6
 {
7
+    /**
8
+     * @param \Laravel\Scout\Builder $builder
9
+     */
7 10
     public function __construct($builder, $results, $isBooleanSearch = false)
8 11
     {
9 12
         $this->query           = $builder->query;
Please login to merge, or discard this patch.
src/Engines/TNTSearchEngine.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -287,6 +287,7 @@  discard block
 block discarded – undo
287 287
      * The constraints usually remove only a small amount of results, which is why the non
288 288
      * matching results are looked up and removed, instead of returning a collection with
289 289
      * all the valid results.
290
+     * @param Builder $builder
290 291
      */
291 292
     private function discardIdsFromResultSetByConstraints($builder, $searchResults)
292 293
     {
@@ -445,6 +446,9 @@  discard block
 block discarded – undo
445 446
      *
446 447
      * @param  string
447 448
      * @param  string
449
+     * @param string $name
450
+     * @param string $result
451
+     * @param string $model
448 452
      * @return string
449 453
      */
450 454
     public function applyFilters($name, $result, $model)
Please login to merge, or discard this patch.