Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | 48 | public function boot(): void |
|
23 | { |
||
24 | 48 | $this->loadTranslationsFrom(__DIR__.'/../resources/lang', 'scout'); |
|
|
|||
25 | |||
26 | 48 | resolve(EngineManager::class)->extend(ElasticSearchEngine::class, function () { |
|
27 | 18 | $elasticsearch = resolve(Client::class); |
|
28 | |||
29 | 18 | return new ElasticSearchEngine($elasticsearch); |
|
30 | 48 | }); |
|
59 |
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.