@@ -37,6 +37,9 @@ discard block |
||
| 37 | 37 | } |
| 38 | 38 | } |
| 39 | 39 | |
| 40 | + /** |
|
| 41 | + * @param TNTSearch $tnt |
|
| 42 | + */ |
|
| 40 | 43 | protected function setFuzziness($tnt) |
| 41 | 44 | { |
| 42 | 45 | $tnt->fuzziness = config('scout.tntsearch.fuzziness', $tnt->fuzziness); |
@@ -45,6 +48,9 @@ discard block |
||
| 45 | 48 | $tnt->fuzzy_max_expansions = config('scout.tntsearch.fuzzy.max_expansions', $tnt->fuzzy_max_expansions); |
| 46 | 49 | } |
| 47 | 50 | |
| 51 | + /** |
|
| 52 | + * @param TNTSearch $tnt |
|
| 53 | + */ |
|
| 48 | 54 | protected function setAsYouType($tnt) |
| 49 | 55 | { |
| 50 | 56 | $tnt->asYouType = config('scout.tntsearch.asYouType', $tnt->asYouType); |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | */ |
| 16 | 16 | public function boot() |
| 17 | 17 | { |
| 18 | - $this->app[EngineManager::class]->extend('tntsearch', function ($app) { |
|
| 18 | + $this->app[EngineManager::class]->extend('tntsearch', function($app) { |
|
| 19 | 19 | $tnt = new TNTSearch(); |
| 20 | 20 | |
| 21 | 21 | $driver = config('database.default'); |