Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
8 | class LaravelRebuildServiceProvider extends ServiceProvider |
||
9 | { |
||
10 | /** |
||
11 | * Bootstrap services. |
||
12 | * |
||
13 | * @return void |
||
14 | */ |
||
15 | public function boot() |
||
16 | { |
||
17 | if ($this->app->runningInConsole()) { |
||
|
|||
18 | $this->commands([ |
||
19 | Rebuild::class, |
||
20 | ]); |
||
21 | } |
||
22 | |||
23 | $this->publishes([ |
||
24 | __DIR__.'/../config/rebuild.php' => config_path('rebuild.php'), |
||
25 | ], 'laravel-rebuild'); |
||
26 | |||
27 | $this->mergeConfigFrom(__DIR__.'/../config/rebuild.php', 'rebuild'); |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * Register services. |
||
32 | * |
||
33 | * @return void |
||
34 | */ |
||
35 | public function register() |
||
37 | // |
||
38 | } |
||
40 |
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.