| 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 | 37 | public function boot(): void |
|
| 23 | { |
||
| 24 | 37 | $this->loadTranslationsFrom(__DIR__.'/../resources/lang', 'scout'); |
|
|
|
|||
| 25 | |||
| 26 | 37 | resolve(EngineManager::class)->extend(ElasticSearchEngine::class, function () { |
|
| 27 | 7 | $elasticsearch = resolve(Client::class); |
|
| 28 | |||
| 29 | 7 | return new ElasticSearchEngine($elasticsearch); |
|
| 30 | 37 | }); |
|
| 61 |
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.