Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
16 | public function boot() |
||
17 | { |
||
18 | $this->app[EngineManager::class]->extend('tntsearch', function () { |
||
19 | $tnt = new TNTSearch(); |
||
20 | $driver = config('database.default'); |
||
21 | $config = config('scout.tntsearch') + config("database.connections.$driver"); |
||
22 | |||
23 | $tnt->loadConfig($config); |
||
24 | $tnt->setDatabaseHandle(app('db')->connection()->getPdo()); |
||
|
|||
25 | |||
26 | return new Engines\TNTSearchEngine($tnt); |
||
27 | }); |
||
28 | } |
||
29 | } |
||
30 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.