Total Complexity | 4 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 5 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | final class ScoutElasticSearchServiceProvider extends ServiceProvider |
||
18 | { |
||
19 | /** |
||
20 | * {@inheritdoc} |
||
21 | */ |
||
22 | 48 | public function boot(): void |
|
30 | 48 | }); |
|
31 | 48 | } |
|
32 | |||
33 | /** |
||
34 | * {@inheritdoc} |
||
35 | */ |
||
36 | 48 | public function register(): void |
|
37 | { |
||
38 | 48 | $this->app->register(ScoutServiceProvider::class); |
|
39 | 48 | $this->app->bind(ImportSourceFactory::class, DefaultImportSourceFactory::class); |
|
40 | |||
41 | 48 | $this->registerCommands(); |
|
42 | 48 | } |
|
43 | |||
44 | /** |
||
45 | * Register artisan commands. |
||
46 | * |
||
47 | * @return void |
||
48 | */ |
||
49 | 48 | private function registerCommands(): void |
|
55 | ]); |
||
56 | } |
||
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.